Youshido\Tests\Library\Utilities\TypeUtilitiesTest::testIsAbstractType PHP Метод

testIsAbstractType() публичный Метод

public testIsAbstractType ( )
    public function testIsAbstractType()
    {
        $this->assertTrue(TypeService::isAbstractType(new TestInterfaceType()));
        $this->assertFalse(TypeService::isAbstractType(new StringType()));
        $this->assertFalse(TypeService::isAbstractType('invalid type'));
    }