1 | <?php |
||
15 | class ExceptionHandlerTest extends TestCase |
||
16 | { |
||
17 | /** |
||
18 | * Test handler report |
||
19 | */ |
||
20 | public function testReport() |
||
30 | |||
31 | /** |
||
32 | * Mock logger |
||
33 | * |
||
34 | * @param Exception $exception |
||
35 | * |
||
36 | * @return LoggerInterface |
||
37 | */ |
||
38 | private function mockLogger(Exception $exception): LoggerInterface |
||
48 | |||
49 | /** |
||
50 | * Mock exception handler |
||
51 | * |
||
52 | * @return ExceptionHandler |
||
53 | */ |
||
54 | private function mockHandler(LoggerInterface $logger): ExceptionHandler |
||
63 | } |