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