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