Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function testInputWithoutTypeMustThrow(): void |
||
38 | { |
||
39 | $this->expectExceptionMessage('Could not find type for parameter `$bar` for method `GraphQLTests\Doctrine\Blog\Model\Special\NoTypeInput::setFoo()`. Either type hint the parameter, or specify the type with `@API\Input` annotation.'); |
||
40 | $type = $this->types->getInput(Blog\Model\Special\NoTypeInput::class); |
||
41 | $type->getFields(); |
||
42 | } |
||
44 |