Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
16 | public function testMatchesUri( |
||
17 | string $uri, |
||
18 | string $resourcePath, |
||
19 | string $operationPath, |
||
20 | bool $isMatch, |
||
21 | ?string $id |
||
22 | ): void { |
||
23 | $result = UriMatcher::matchUri($uri, $resourcePath, $operationPath, $matches); |
||
24 | |||
25 | $this->assertSame($isMatch, $result); |
||
26 | $this->assertSame($id, $matches['id'] ?? null); |
||
27 | } |
||
59 |