// =====================================================================
// Test Expectations
// =====================================================================
Lock lock = new JDBCLock(lockManagerMock, RESOURCE_ID, null, -1);
boolean locked = lock.acquire(fred);
assertFalse("Unlocked", locked);
assertEquals("Principal unexpected", wilma, lock.getOwner());
assertEquals("Acquisition time incorrect", 54321L,
lock.getAcquisitionTime());