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

public getDescription ( )
Пример #1
0
 public function testObjectCreation()
 {
     $type = new TestUnionType();
     $this->assertEquals('TestUnion', $type->getName());
     $this->assertEquals('Union collect cars types', $type->getDescription());
     $this->assertEquals([new TestObjectType()], $type->getTypes());
     $this->assertEquals('test', $type->resolveType('test'));
 }