public function testDropAll() { // create a flow $createLocationFlow = $this->getFlow($this->createLocationFlowName, $this->createLocationFlowInstanceId); // save its data $this->dataManager->save($createLocationFlow, $this->createLocationFlowData); // drop all data $this->dataManager->dropAll(); // ensure all data has been dropped $this->assertFalse($this->storage->has(DataManagerInterface::STORAGE_ROOT)); }
public function testHas() { $this->assertFalse($this->storage->has('foo')); }
public function testRemove_empty() { $this->storage->remove('foo'); $this->assertFalse($this->storage->has('foo')); }