assertFalse("the object is locked", ocm.isLocked("/test"));
assertNull("Attribute lockowner is not null", lockable.getLockOwner());
// --------------------------------------------------------------------------------
// Lock the object
// --------------------------------------------------------------------------------
Lock lock = ocm.lock("/test", true, false);
// --------------------------------------------------------------------------------
// Check if the object is locked
// --------------------------------------------------------------------------------
assertTrue("the object is not locked", ocm.isLocked("/test"));