Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function testSimpleMethods() |
||
20 | { |
||
21 | $typeName = 'user'; |
||
22 | $field = new GlobalIdField($typeName); |
||
23 | $this->assertEquals('id', $field->getName()); |
||
24 | $this->assertEquals('The ID of an object', $field->getDescription()); |
||
25 | $this->assertEquals(new NonNullType(new IdType()), $field->getType()); |
||
26 | } |
||
27 | } |
||
28 |