public function getResponse() { $response = new Response(); $response->headers = $this->createMock('Symfony\\Component\\HttpFoundation\\ResponseHeaderBag'); return $response; }