assertTrue(lm.checkWrite(tx1, a1));
assertTrue(lm.checkWrite(tx1, a2));
//assertFalse("2nd release should not succeed", lm.releaseLock(tx2, a2));
//assertFalse("2nd release should not succeed", lm.releaseLock(tx2, a1));
assertTrue("release should succeed", lm.releaseLock(tx1, a2));
assertTrue("2nd object lock should succeed", lm.writeLock(tx2, a2));
assertTrue("release 2nd object lock should succeed", lm.releaseLock(tx2, a2));
try
{
tx1.abort();