loader.put(list);
checkModifications(list);
/* REMOVE_KEY_VALUE */
list = new ArrayList<Modification>();
Modification mod = new Modification();
mod.setType(Modification.ModificationType.REMOVE_KEY_VALUE);
mod.setFqn(FQN);
mod.setKey("one");
list.add(mod);
loader.put(list);
checkModifications(list);
/* REMOVE_NODE */
list = new ArrayList<Modification>();
mod = new Modification();
mod.setType(Modification.ModificationType.REMOVE_NODE);
mod.setFqn(FQN);
list.add(mod);
loader.put(list);
checkModifications(list);
assertEquals(null, loader.get(FQN));
/* REMOVE_DATA */
loader.put(FQN, "one", "two");
list = new ArrayList<Modification>();
mod = new Modification();
mod.setType(Modification.ModificationType.REMOVE_DATA);
mod.setFqn(FQN);
list.add(mod);
loader.put(list);
checkModifications(list);
assertNotNull(loader.get(FQN));
assertEquals(0, loader.get(FQN).size());