public function testDrop() { $this->cache->set('key:1', 'value:1'); $this->cache->set('key:2', 'value:2'); $this->cache->drop('key:1'); $this->assertNull($this->cache->get('key:1')); $this->assertEquals('value:2', $this->cache->get('key:2')); }
public function drop($key) { $this->cache->drop($key); $this->storage->drop($key); }