public function testExtendedObject() { $testEnumType = new TestEnumType(); $this->assertEquals('TestEnum', $testEnumType->getName()); }