public function disable() { $this->cacheEnabled = false; return true; }
public function testDisableCacheWillNeverCallDriver() { $stash = new Item($this->getMockedDriver(), array('test', 'key')); $stash->disable(); $this->assertTrue($stash->isDisabled()); $this->assertDisabledStash($stash); }