public function testStaticCreateWithCustomHeaders() {
$response = JsonResponse::create(array(), 200, array(
'ETag' => 'foo',
));
$this
->assertSame('application/json', $response->headers
->get('Content-Type'));
$this
->assertSame('foo', $response->headers
->get('ETag'));
}