public function testCopyFail() { $cache = new Memory(); $this->assertFalse($cache->copy('one', 'two')); }
public function testAutosave() { $cache = new Cache\Memory(__DIR__); $this->assertTrue($cache->getAutosave()); $cache->setAutosave(false); $this->assertFalse($cache->getAutosave()); }