public function testInit() { /* setup */ $this->_config->init('config.php'); /* actual */ $actualArray = $this->_config->get(); /* compare */ $this->assertArrayHasKey('dbType', $actualArray); }