public function testUpdateResponse()
{
$this->response->setPublic()->shouldBeCalled();
$this->response->setMaxAge($this->maxAge)->shouldBeCalled();
$this->response->setSharedMaxAge($this->sharedMaxAge)->shouldBeCalled();
$this->structure->getCacheLifeTime()->willReturn(10);
$this->response->getAge()->willReturn(50);
$this->handler->updateResponse($this->response->reveal(), $this->structure->reveal());
}