public function testGetCookies() { $response = new Response('foo', 304, array(), array('foo' => 'bar')); $this->assertEquals(array('foo' => 'bar'), $response->getCookies(), '->getCookies() returns the cookies of the response'); }