| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 11 | public function testRun() |
||
| 12 | { |
||
| 13 | $event = $this->prophesize(Event::class); |
||
| 14 | $scheduler = $this->prophesize(SchedulerInterface::class); |
||
| 15 | |||
| 16 | $listener = new RunListener($scheduler->reveal()); |
||
| 17 | |||
| 18 | $listener->run($event->reveal()); |
||
| 19 | |||
| 20 | $scheduler->run()->shouldBeCalledTimes(1); |
||
| 21 | } |
||
| 22 | } |
||
| 23 |