Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class RequestParameterTest extends TestCase |
||
7 | { |
||
8 | /** @test */ |
||
9 | public function itThrowAnExceptionOnUnsupportedParameterLocation() |
||
10 | { |
||
11 | $this->expectException(\InvalidArgumentException::class); |
||
12 | $this->expectExceptionMessage( |
||
13 | 'nowhere is not a supported parameter location, ' . |
||
14 | 'supported: path, header, query, body, formData' |
||
15 | ); |
||
16 | |||
17 | $param = new Parameter('nowhere', 'foo'); |
||
|
|||
18 | } |
||
19 | |||
20 | /** @test */ |
||
21 | public function itCanBeSerialized() |
||
28 | } |
||
29 | } |
||
30 |