/** * @covers ::__construct * @covers ::getDatabaseConfig * @covers ::<private> * @expectedException \Exception */ public function testRetrievingDatabaseConfigThrowsExceptionIfDbConfigIsNotDefined() { $config = new Config(__FILE__, ['superqueuer' => []]); $config->getDatabaseConfig(); }