| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class WriterTest extends TestCase |
||
| 14 | { |
||
| 15 | /** @test */ |
||
| 16 | public function it_respects_is_contract(): void |
||
| 17 | { |
||
| 18 | $this->assertInstanceOf(WriterContract::class, new Writer()); |
||
| 19 | } |
||
| 20 | |||
| 21 | /** @test */ |
||
| 22 | public function it_gets_the_output(): void |
||
| 23 | { |
||
| 24 | $writer = new Writer($output = new ConsoleOutput()); |
||
| 25 | |||
| 26 | $this->assertEquals($writer->getOutput(), $output); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** @test */ |
||
| 30 | public function it_sets_the_output(): void |
||
| 35 | } |
||
| 36 | } |