Example #1
0
 public function testGetSessionExclude()
 {
     $pc = new PageCache();
     $result = $pc->getSessionExclude();
     $this->assertEmpty($result);
     $pc->sessionExclude(array(null, '2', 3, false, new \stdClass()));
     $this->assertEquals(array(null, '2', 3, false, new \stdClass()), SessionHandler::getExcludeKeys());
 }