public function testSetsRequestMethodCookie() { $method = 'POST'; $response = new Response('foo'); $this->turbolinks->decorateResponse(Request::create('/', $method), $response); $this->assertContainsRequestMethodCookie($response, $method); }