| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testInitBundle() |
||
| 17 | { |
||
| 18 | // Boot the kernel. |
||
| 19 | $this->bootKernel(); |
||
| 20 | |||
| 21 | // Get the container |
||
| 22 | $container = $this->getContainer(); |
||
| 23 | |||
| 24 | // Test if you services exists |
||
| 25 | $this->assertTrue($container->has('ob_highcharts.twig.highcharts_extension')); |
||
| 26 | $service = $container->get('ob_highcharts.twig.highcharts_extension'); |
||
| 27 | $this->assertInstanceOf(HighchartsExtension::class, $service); |
||
| 28 | } |
||
| 29 | |||
| 30 | } |