public function testRemove() { $this->assertNull($this->storage->remove('foo')); $this->storage->set('foo', 'bar'); $this->assertEquals('bar', $this->storage->remove('foo')); }
/** * {@inheritDoc} */ public function reset() { $this->storage->remove($this->getStepDataKey()); $this->currentStepNumber = $this->getFirstStepNumber(); }
public function testRemove_empty() { $this->storage->remove('foo'); $this->assertFalse($this->storage->has('foo')); }
/** * {@inheritDoc} */ public function dropAll() { $this->storage->remove(DataManagerInterface::STORAGE_ROOT); }