Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | class RethrowHandlerTest extends TestCase |
||
14 | { |
||
15 | public function testHandleShallThrow(): void |
||
16 | { |
||
17 | $this->expectException(TypeError::class); |
||
18 | $handler = new RethrowHandler(); |
||
19 | $exception = new TypeError(); |
||
20 | $handler->handle($exception); |
||
21 | } |
||
22 | |||
23 | public function testHandleHttpExceptionShallThrow(): void |
||
29 | } |
||
30 | } |
||
31 |