public function testPrepareRemovesContentForHeadRequests() { $response = new Response('foo'); $request = Request::create('/', 'HEAD'); $response ->prepare($request); $this ->assertEquals('', $response ->getContent()); }