Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
35 | public function testDefaultConfig() |
||
36 | { |
||
37 | $configuration = new Configuration(); |
||
38 | $treeBuilder = $configuration->getConfigTreeBuilder(); |
||
39 | $processor = new Processor(); |
||
40 | $config = $processor->processConfiguration( |
||
41 | $configuration, |
||
42 | [ |
||
43 | 'loopback_api' => [] |
||
44 | ] |
||
45 | ); |
||
46 | $this->assertInstanceOf('Symfony\Component\Config\Definition\ConfigurationInterface', $configuration); |
||
47 | $this->assertInstanceOf('Symfony\Component\Config\Definition\Builder\TreeBuilder', $treeBuilder); |
||
48 | $this->assertEquals(self::$defaultConfig, $config); |
||
49 | } |
||
50 | } |
||
51 |