/** * Testing headers is a pain in the ass. ;) * * Technically... we can't. So, yea. * * Attempt to run in a separate process so we can * at least call our internal methods */ public function testSendHeaders() { $response = new Response('woot!'); $response->headers()->set('test', 'sure'); $response->headers()->set('Authorization', 'Basic asdasd'); $response->sendHeaders(); $this->expectOutputString(null); }