Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | public function testDispatchOfInternalEventDispatcher(): void |
||
34 | { |
||
35 | $eventDispatcher = new ImmutableEventDispatcher($this->listenerProvider); |
||
36 | |||
37 | $this->listenerProvider->expects($this->once()) |
||
38 | ->method('getListenersForEvent') |
||
39 | ->willReturn([]); |
||
40 | |||
41 | $eventDispatcher->dispatch(new \stdClass()); |
||
42 | } |
||
44 |