1 | <?php |
||
17 | class ExceptionHandlerTest extends TestCase |
||
18 | { |
||
19 | /** |
||
20 | * Test handler report |
||
21 | */ |
||
22 | public function testReport() |
||
32 | |||
33 | /** |
||
34 | * Mock logger |
||
35 | * |
||
36 | * @param Exception $exception |
||
37 | * |
||
38 | * @return LoggerInterface |
||
39 | */ |
||
40 | private function mockLogger(Exception $exception): LoggerInterface |
||
50 | |||
51 | /** |
||
52 | * Mock exception handler |
||
53 | * |
||
54 | * @return ExceptionHandler |
||
55 | */ |
||
56 | private function mockHandler(LoggerInterface $logger): ExceptionHandler |
||
65 | } |
||
66 |