| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function testWrite() |
||
| 13 | { |
||
| 14 | $fileNameProvider = $this->prophesize(FileNameProviderInterface::class); |
||
| 15 | $output = $this->prophesize(OutputInterface::class); |
||
| 16 | |||
| 17 | $writer = new OutputWriter($output->reveal(), $fileNameProvider->reveal()); |
||
| 18 | $writer->write('hello'); |
||
| 19 | |||
| 20 | $output->writeln(Argument::exact('hello'))->shouldHaveBeenCalled(); |
||
| 21 | } |
||
| 23 |