assertFalse("Reverting transient changes must revert the hold added.",
containsHold(holds2, hold));
}
public void testRemoveHold() throws RepositoryException, NotExecutableException {
Hold hold = retentionMgr.addHold(testNodePath, getHoldName(), false);
Hold[] holds = retentionMgr.getHolds(testNodePath);
retentionMgr.removeHold(testNodePath, hold);
Hold[] holds2 = retentionMgr.getHolds(testNodePath);