Exemple #1
0
 public function testClearCache()
 {
     $this->driver->expects($this->once())->method('clear')->will($this->returnValue(true));
     $this->assertTrue($this->cache->clear());
 }
Exemple #2
0
 public function testFetchMissShouldReturnFalse()
 {
     $this->assertSame(false, $this->driver->get('nonexistent_key'));
 }
Exemple #3
0
 /**
  * @inheritdoc
  */
 public function removeFromList($list, $value)
 {
     return $this->driver->removeFromList($list, $value);
 }