Total Complexity | 4 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | final class NotFoundHandlerTest extends TestCase |
||
13 | { |
||
14 | public function testShouldReturnCode404(): void |
||
18 | } |
||
19 | |||
20 | public function testShouldReturnCorrectErrorInBody(): void |
||
24 | } |
||
25 | |||
26 | private function createHandler(): NotFoundHandler |
||
27 | { |
||
28 | return new NotFoundHandler(new Psr17Factory()); |
||
29 | } |
||
30 | |||
31 | private function createRequest(string $uri = '/'): ServerRequestInterface |
||
34 | } |
||
35 | } |
||
36 |