assertTrue("getHolds doesn't return the hold added before", containsHold(holds, hold));
}
public void testAddHold2() throws RepositoryException, NotExecutableException {
Hold[] holdsBefore = retentionMgr.getHolds(testNodePath);
Hold hold = retentionMgr.addHold(testNodePath, getHoldName(), false);
assertFalse("The hold added must not have been present before.", containsHold(holdsBefore, hold));
}