Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function testGetOutputWriterWhenNeeded() |
||
29 | { |
||
30 | $consoleOutput = PHPUnit_Framework_Assert::getObjectAttribute($this->outputWriter, 'consoleOutput'); |
||
31 | $this->assertNull($consoleOutput); |
||
32 | |||
33 | $this->outputWriter->write(''); |
||
34 | |||
35 | $consoleOutput = PHPUnit_Framework_Assert::getObjectAttribute($this->outputWriter, 'consoleOutput'); |
||
36 | $this->assertInstanceOf(ConsoleOutput::class, $consoleOutput); |
||
37 | } |
||
38 | |||
40 |