public function testAuthenticateWrongType() { $this->apiKey->config('type', 'wrong'); $request = new Request('/'); $this->apiKey->authenticate($request, new Response()); }