public function testDoesNotCacheWithCookieHeaderAndNonPublicResponse() {
$this
->setNextResponse(200, array(
'ETag' => '"Foo"',
));
$this
->request('GET', '/', array(), array(
'foo' => 'bar',
));
$this
->assertHttpKernelIsCalled();
$this
->assertResponseOk();
$this
->assertEquals('private', $this->response->headers
->get('Cache-Control'));
$this
->assertTraceContains('miss');
$this
->assertTraceNotContains('store');
$this
->assertFalse($this->response->headers
->has('Age'));
}