| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | public function testGetConfig() |
||
| 22 | { |
||
| 23 | $configuration = new Configuration(); |
||
| 24 | $container = $this->createMock(ContainerInterface::class); |
||
| 25 | $container->expects($this->once())->method('get')->with('test')->willReturn($configuration); |
||
| 26 | |||
| 27 | $resolver = new ConfigurationResolver($container, '%s'); |
||
| 28 | |||
| 29 | $this->assertSame($configuration, $resolver->getConfiguration('test')); |
||
| 30 | } |
||
| 32 |