| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | public function testContructor() |
||
| 7 | { |
||
| 8 | $className = $this->className; |
||
| 9 | $database = new $className(); |
||
| 10 | |||
| 11 | $this->assertNull($database->getConfig()); |
||
| 12 | $reflection = new \ReflectionClass(get_class($database)); |
||
| 13 | $property = $reflection->getProperty('handler'); |
||
| 14 | $property->setAccessible(true); |
||
| 15 | $this->assertEquals($property->getValue($database), false); |
||
| 16 | |||
| 20 |