Inheritance: extends Youshido\GraphQL\Type\Object\AbstractObjectType
Example #1
0
 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());
 }