| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | /** |
||
| 28 | * Tests that the factory is invokable. |
||
| 29 | */ |
||
| 30 | public function testIfInvokable() |
||
| 31 | { |
||
| 32 | $container = $this->prophesize(ContainerInterface::class); |
||
| 33 | $factory = new VersionActionFactory(); |
||
| 34 | |||
| 35 | $container->get('config')->willReturn(['version' => '1.0.0']); |
||
| 36 | |||
| 37 | $instance = $factory($container->reveal()); |
||
| 38 | |||
| 42 |