Example #1
0
 public function testGetExpiration()
 {
     $pc = new PageCache();
     $this->assertEquals(1200, $pc->getExpiration());
     $pc->setExpiration(20);
     $this->assertEquals(20, $pc->getExpiration());
 }