| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php declare(strict_types=1); |
||
| 25 | 1 | public function testCascadedLoad(): void |
|
| 26 | { |
||
| 27 | 1 | $yamlLoader = new YamlConfigLoader; |
|
| 28 | 1 | $locations = [__DIR__.'/Fixture/YamlConfigLoader']; |
|
| 29 | 1 | $sources = ['fixture*.yml']; |
|
| 30 | 1 | $expecation = require __DIR__.'/Fixture/YamlConfigLoader/load_cascaded_expectation.php'; |
|
| 31 | 1 | $this->assertEquals($expecation, $yamlLoader->load($locations, $sources)); |
|
| 32 | 1 | } |
|
| 34 |