diff --git a/tests/Foundation/FlextypeTest.php b/tests/Foundation/FlextypeTest.php index 01e58b80..9ff92647 100644 --- a/tests/Foundation/FlextypeTest.php +++ b/tests/Foundation/FlextypeTest.php @@ -16,3 +16,11 @@ afterEach(function (): void { test('test getVersion() method', function () { $this->assertTrue(!Strings::create(flextype()->getVersion())->isEmpty()); }); + +test('test getInstance() method', function () { + $firstCall = Flextype::getInstance(); + $secondCall = Flextype::getInstance(); + + $this->assertInstanceOf(Flextype::class, $firstCall); + $this->assertSame($firstCall, $secondCall); +});