| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function testDispatching() |
||
| 38 | { |
||
| 39 | $this->assertNull( |
||
| 40 | PHPUnit_Framework_Assert::getObjectAttribute($this->outputWriter, 'consoleOutput') |
||
| 41 | ); |
||
| 42 | |||
| 43 | $input = new ArrayInput(['command' => 'migrations:status']); |
||
| 44 | $output = new BufferedOutput; |
||
| 45 | $this->application->run($input, $output); |
||
| 46 | |||
| 47 | $this->assertInstanceOf( |
||
| 48 | OutputInterface::class, |
||
| 49 | PHPUnit_Framework_Assert::getObjectAttribute($this->outputWriter, 'consoleOutput') |
||
| 50 | ); |
||
| 51 | } |
||
| 52 | |||
| 54 |