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