public function testIsPrivate()
 {
     $response = new Response();
     $response->headers->set('Cache-Control', 'max-age=100');
     $response->setPrivate(true);
     $this->assertEquals(100, $response->headers->getCacheControl()->getMaxAge(), '->isPrivate() adds the private Cache-Control directive when set to true');
     $this->assertTrue($response->headers->getCacheControl()->isPrivate(), '->isPrivate() adds the private Cache-Control directive when set to true');
     $response = new Response();
     $response->headers->set('Cache-Control', 'public, max-age=100');
     $response->setPrivate(true);
     $this->assertEquals(100, $response->headers->getCacheControl()->getMaxAge(), '->isPrivate() adds the private Cache-Control directive when set to true');
     $this->assertTrue($response->headers->getCacheControl()->isPrivate(), '->isPrivate() adds the private Cache-Control directive when set to true');
     $this->assertFalse($response->headers->getCacheControl()->isPublic(), '->isPrivate() removes the public Cache-Control directive');
 }