Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
40 | private function mockLogger(Exception $exception): LoggerInterface |
||
41 | { |
||
42 | $logger = $this->createMock(LoggerInterface::class); |
||
43 | $logger |
||
44 | ->expects(self::once()) |
||
45 | ->method('error') |
||
46 | ->with(self::equalTo($exception->getMessage()), self::equalTo(['exception' => $exception])); |
||
47 | |||
48 | return $logger; |
||
49 | } |
||
50 | |||
66 |