Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | public function testRun() |
||
24 | { |
||
25 | $event = $this->prophesize(Event::class); |
||
26 | $taskRunner = $this->prophesize(TaskRunnerInterface::class); |
||
27 | |||
28 | $listener = new RunListener($taskRunner->reveal()); |
||
29 | |||
30 | $listener->run($event->reveal()); |
||
31 | |||
32 | $taskRunner->runTasks()->shouldBeCalledTimes(1); |
||
33 | } |
||
34 | } |
||
35 |