| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function testCommand() |
||
| 11 | { |
||
| 12 | $runMock = $this->getMock('\Hairmare\Dodat\Run'); |
||
| 13 | $runMock->expects($this->once())->method('setScripts'); |
||
| 14 | $runMock->expects($this->once())->method('run'); |
||
| 15 | |||
| 16 | $load = new Load(file_get_contents(__DIR__.'/../.travis.yml')); |
||
| 17 | |||
| 18 | $command = new Command($runMock, $load); |
||
| 19 | $tester = new CommandTester($command); |
||
| 20 | |||
| 21 | $tester->execute(array()); |
||
| 22 | } |
||
| 23 | } |
||
| 24 |