public function setAge($age)
{
$this->response->setHeader('Age', $age);
}
/** * Test Age */ public function testAge() { $this->cacheControl->setAge(3600); $this->assertEquals(3600, $this->cacheControl->getAge()); $this->assertEquals(3600, $this->response->getHeader('Age')); }