final SimpleClient client = getClient();
client.send(new MapLockRequest(mapName, TestUtil.toData(1), ThreadUtil.getThreadId()));
client.receive();
final IMap map = getMap();
assertEquals(true, map.isLocked(1));
client.send(new MapUnlockRequest(mapName, TestUtil.toData(1), ThreadUtil.getThreadId()));
client.receive();
assertEquals(false, map.isLocked(1));
}