Youshido\Tests\Library\Type\ObjectTypeTest::testExtendedClass PHP Method

testExtendedClass() public method

public testExtendedClass ( )
    public function testExtendedClass()
    {
        $objectType = new TestObjectType();
        $this->assertEquals($objectType->getName(), 'TestObject');
        $this->assertEquals($objectType->getType(), $objectType, 'test type of extended object');
        $this->assertNull($objectType->getDescription());
    }