Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function test_get_config() |
||
31 | { |
||
32 | $configuration = new Configuration(); |
||
33 | $container = $this->createMock(ContainerInterface::class); |
||
34 | $container->expects($this->once())->method('get')->with('test')->willReturn($configuration); |
||
35 | |||
36 | $resolver = new ConfigurationResolver($container, '%s'); |
||
37 | |||
38 | $this->assertSame($configuration, $resolver->getConfiguration('test')); |
||
39 | } |
||
40 | } |