/**
* Test Ttl
*/
public function testTtl()
{
$this->cacheControl->setTtl(3600);
$this->assertEquals(3600, $this->cacheControl->getTtl());
$this->assertEquals(3600, $this->cacheControl->getMaxAge());
$this->assertEquals('public, s-maxage=3600', $this->response->getHeader('Cache-Control'));
}