Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function itThrowAnExceptionWhenNoRequestDefinitionIsFound() |
||
30 | { |
||
31 | $this->expectException(\InvalidArgumentException::class); |
||
32 | $this->expectExceptionMessage('Unable to find request definition for operationId getFoo'); |
||
33 | |||
34 | $requestDefinitions = new RequestDefinitions([]); |
||
35 | $requestDefinitions->getRequestDefinition('getFoo'); |
||
36 | } |
||
38 |