TransactionChangesLog tlog = new TransactionChangesLog();
tlog.addLog(log);
WorkspaceContainerFacade wsc = repository.getWorkspaceContainer(workspace.getName());
PersistentDataManager dm = (PersistentDataManager)wsc.getComponent(PersistentDataManager.class);
try
{
dm.save(tlog);
fail("JCRInvalidItemStateException expected");
}
catch (JCRInvalidItemStateException e)
{
// ok
}
assertNull("Item should not be found", dm.getItemData(id));
}