| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 28 | public function testConfigGetterAndSetter() |
||
| 29 | { |
||
| 30 | $instance = $this->getDatabaseInstance(); |
||
| 31 | $testConfig = [ |
||
| 32 | 'key' => 'value', |
||
| 33 | 'host' => '127.0.0.1', |
||
| 34 | 'user' => 'root' |
||
| 35 | ]; |
||
| 36 | |||
| 37 | $this->assertEquals([], $instance->getConfig()); |
||
| 38 | $instance->setConfig($testConfig); |
||
| 39 | $this->assertEquals($testConfig, $instance->getConfig()); |
||
| 40 | } |
||
| 41 | |||
| 50 | } |