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()); }