configProvider = new ConfigProvider(); } /** @test */ public function properConfigIsReturned() { $config = $this->configProvider->__invoke(); $this->assertArrayHasKey('error_handler', $config); $this->assertArrayHasKey('routes', $config); $this->assertArrayHasKey('dependencies', $config); } }