HazelcastInstance instance = createHazelcastInstance();
ILock lock = instance.getLock(randomString());
lock.lock();
assertEquals(1, lock.getLockCount());
assertTrue(lock.tryLock());
assertEquals(2, lock.getLockCount());
lock.unlock();
assertEquals(1, lock.getLockCount());
assertTrue(lock.isLocked());