@Test public void testTnxMapDelete() throws Exception { final String mapName = randomString(); final String key = "key1"; final String value = "old1"; IMap map = client.getMap(mapName); map.put(key, value); final TransactionContext context = client.newTransactionContext(); context.beginTransaction(); final TransactionalMap txMap = context.getMap(mapName); txMap.delete(key); context.commitTransaction(); assertNull(map.get(key)); }