function testServerReturnsContentType() { $request = Request::create('application.js'); $response = $this->server->dispatch($request); $this->assertEquals('application/javascript', $response->headers->get('Content-Type')); }