Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
20 | public function testRun() |
||
21 | { |
||
22 | $input = $this->prophesize(InputInterface::class); |
||
23 | $output = $this->prophesize(OutputInterface::class); |
||
24 | |||
25 | $scheduler = $this->prophesize(SchedulerInterface::class); |
||
26 | $command = new RunCommand($scheduler->reveal()); |
||
27 | |||
28 | $command->run($input->reveal(), $output->reveal()); |
||
29 | |||
30 | $scheduler->run()->shouldBeCalledTimes(1); |
||
31 | } |
||
32 | } |
||
33 |