| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 25 | 1 | public function testRegisterBundle() |
|
| 26 | { |
||
| 27 | 1 | $kernel = $this->createKernel(); |
|
| 28 | 1 | $kernel->addConfigFile(__DIR__.'/config.yml'); |
|
| 29 | |||
| 30 | 1 | $this->bootKernel(); |
|
| 31 | 1 | $container = $this->getContainer(); |
|
| 32 | |||
| 33 | 1 | $this->assertTrue($container->has('php_translation.adapter.flysystem.foo')); |
|
| 34 | 1 | $service = $container->get('php_translation.adapter.flysystem.foo'); |
|
| 35 | 1 | $this->assertInstanceOf(FileStorage::class, $service); |
|
| 36 | 1 | } |
|
| 37 | } |
||
| 38 |