// get user transaction object, start
UserTransaction utx = new UserTransactionImpl(superuser);
utx.begin();
// unlock
n.unlock();
Node n2 = (Node) otherSuperuser.getItem(n.getPath());
assertTrue(n2.isLocked());
assertTrue(n2.hasProperty(jcrLockOwner));
assertTrue(n2.hasProperty(jcrlockIsDeep));