| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class RequestTest extends TestCase |
||
| 11 | { |
||
| 12 | public function test_existing_request_key(): void |
||
| 19 | } |
||
| 20 | |||
| 21 | public function test_non_existing_request_key(): void |
||
| 22 | { |
||
| 23 | $request = Request::fromGlobals(); |
||
| 24 | |||
| 25 | self::assertNull($request->get('non-existing-key')); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function test_default_request_get_value(): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |