lockManager.lock(path, true, false, 60, "");
fail("VersionHistory should not be lockable: VersionHistory.lock(true,false) did not throw a LockException");
} catch (LockException success) {
}
try {
lockManager.lock(path, false, true, 60, "");
fail("VersionHistory should not be lockable: VersionHistory.lock(false,true) did not throw a LockException");
} catch (LockException success) {
}
try {
lockManager.lock(path, false, false, 60, "");