* A locked node must also be locked if accessed by some other session.
*/
public void testLockVisibility() throws RepositoryException {
Node ln2 = (Node) otherSession.getItem(lockedNode.getPath());
assertTrue("Locked node must also be locked for another session", ln2.isLocked());
assertTrue("Locked node must also be locked for another session", ln2.holdsLock());
}
/**
* If a locked nodes is unlocked again, any Lock instance retrieved by
* another session must change the lock-status. Similarly, the previously