| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function testHasServices(): void |
||
| 14 | { |
||
| 15 | $extension = new RedisExtension(); |
||
| 16 | $container = new ContainerBuilder(); |
||
| 17 | |||
| 18 | $this->assertInstanceOf(Extension::class, $extension); |
||
| 19 | |||
| 20 | $extension->load([], $container); |
||
| 21 | |||
| 22 | $this->assertTrue($container->has('sb_redis.default')); |
||
| 23 | $this->assertTrue($container->has(ClientInterface::class)); |
||
| 24 | } |
||
| 47 |