public function testPrepareSetContentType() {
$response = new Response('foo');
$request = Request::create('/');
$request
->setRequestFormat('json');
$response
->prepare($request);
$this
->assertEquals('application/json', $response->headers
->get('content-type'));
}