| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function testConfigTreeBuilder() |
||
| 11 | { |
||
| 12 | $config = [ |
||
| 13 | 'savchenko_open_weather_map' => [ |
||
| 14 | 'api_key' => 'some_api_key' |
||
| 15 | ] |
||
| 16 | ]; |
||
| 17 | |||
| 18 | $processor = new Processor(); |
||
| 19 | $processedConfig = $processor->processConfiguration(new Configuration(), $config); |
||
| 20 | |||
| 21 | self::assertEquals(array_merge($config['savchenko_open_weather_map']), $processedConfig); |
||
| 22 | } |
||
| 23 | } |