ChangesContainer put2 =
new PutObjectContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"),
new HashMap<String, String>(), null, buffer.getHistoryIndex(), false, false, 0);
ChangesContainer rm1 =
new RemoveNodeContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b/c"), null,
buffer.getHistoryIndex(), false, false, 0);
ChangesContainer rm2 =
new RemoveNodeContainer(Fqn.fromString("wk-unique-name/" + JBossCacheWorkspaceStorageCache.CHILD_NODES + "/b"), null, buffer
.getHistoryIndex(), false, false, 0);
buffer.add(put1);
buffer.add(put2);
assertTrue("List MUST contain put container", buffer.getSortedList().contains(put1));
assertTrue("List MUST contain put container", buffer.getSortedList().contains(put2));