public function testFlush() { $this->cache->set('test', 'data'); $this->assertEquals('data', $this->cache->get('test')); $this->assertTrue($this->cache->flush()); $this->assertFalse($this->cache->get('data')); }
/** * {@inheritdoc} */ public function flush() { $this->hot = []; return $this->cache->flush(); }