Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
23 | public function testPlugin() |
||
24 | { |
||
25 | $kernel = new AppKernel( |
||
26 | [], |
||
27 | [] |
||
28 | ); |
||
29 | $kernel->run(); |
||
30 | |||
31 | /** @var EventsFacadeInterface $facade */ |
||
32 | $facade = $kernel->container()->get(EventsFacadeInterface::class); |
||
33 | $this->assertInstanceOf(EventsFacadeInterface::class, $facade); |
||
34 | $evt = $this->createMock(EventInterface::class); |
||
35 | $facade->emit($evt); |
||
36 | } |
||
38 |