/** * Testing cookies is exactly like testing headers * ... So, yea. */ public function testSendCookies() { $response = new Response(); $response->cookies()->set('test', 'woot!'); $response->cookies()->set('Cookie-name', 'wtf?'); $response->sendCookies(); $this->expectOutputString(null); }