_conn.getObjectByIdentity(pgOid, LockType.WRITE_LOCK);
// we can write lock twice from the same tx
_conn.getObjectByIdentity(pgOid, LockType.WRITE_LOCK);
// test different LockWaitStrategies
_kit.setLockWaitStrategy(new NoWaitStrategy());
failIfLockForWrite(conn2, pgOid);
_kit.setLockWaitStrategy(new TimeoutStrategy(1));
failIfLockForWrite(conn2, pgOid);
// Second test for the TimeoutStrategy: