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