Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
29 | public function testCreateEvent(): void |
||
30 | { |
||
31 | $io = $this->createIOMock(); |
||
32 | $config = $this->createConfigMock(); |
||
33 | $repo = $this->createRepositoryMock(); |
||
34 | |||
35 | $factory = new Factory($io, $config, $repo); |
||
36 | $event = $factory->createEvent('onHookFailure'); |
||
37 | |||
38 | $this->assertInstanceOf(HookFailed::class, $event); |
||
39 | } |
||
56 |