| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function it_sets_the_output(): void |
||
| 39 | { |
||
| 40 | $writerMock = $this->createMock(WriterContract::class); |
||
| 41 | $output = new ConsoleOutput(); |
||
| 42 | |||
| 43 | $writerMock->expects($this->once()) |
||
| 44 | ->method('setOutput') |
||
| 45 | ->with($output); |
||
| 46 | |||
| 47 | (new Handler($writerMock))->setOutput($output); |
||
| 48 | } |
||
| 59 |