msg = "Attempting to renew an old lock";
print(msg);
IEntityLock badLock = testLocks[2];
msg = "Checking if lock was renewed.";
print(msg);
try { service.renew(badLock); } catch (Exception ex) {print("Caught Exception: " + ex.getMessage()); }
assertTrue(msg, ! service.isValid(badLock));
msg = "Attempting to renew a valid lock";
print(msg);
IEntityLock goodLock = testLocks[0];