use of javax.jcr.retention.Hold in project jackrabbit by apache.
the class HoldTest method testHoldGetName.
public void testHoldGetName() throws RepositoryException, NotExecutableException {
String holdName = getHoldName();
Hold h = retentionMgr.addHold(testNodePath, getHoldName(), false);
assertEquals("Hold.getName() must return the specified name.", holdName, h.getName());
}
Aggregations