| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function testGetNonExistedByDefaultConfig(): void |
||
| 17 | { |
||
| 18 | $cf = $this->getFactory(); |
||
| 19 | $cf->setDefaults('magic', ['key' => 'value']); |
||
| 20 | |||
| 21 | $config = $cf->getConfig('magic'); |
||
| 22 | |||
| 23 | $this->assertEquals( |
||
| 24 | ['key' => 'value'], |
||
| 25 | $config |
||
| 26 | ); |
||
| 27 | |||
| 28 | $this->assertSame($config, $cf->getConfig('magic')); |
||
| 29 | } |
||
| 74 |