Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class ErrorLoggerTest extends TestCase |
||
14 | { |
||
15 | /** @var ErrorLogger */ |
||
16 | private $errorLogger; |
||
17 | /** @var ObjectProphecy */ |
||
18 | private $logger; |
||
19 | |||
20 | public function setUp(): void |
||
21 | { |
||
22 | $this->logger = $this->prophesize(LoggerInterface::class); |
||
23 | $this->errorLogger = new ErrorLogger($this->logger->reveal()); |
||
24 | } |
||
25 | |||
26 | /** @test */ |
||
27 | public function delegatesIntoInternalLoggerWhenInvoked(): void |
||
36 | } |
||
37 | } |
||
38 |