tm.begin();
advancedCache.withFlags(Flag.FORCE_WRITE_LOCK).get("k");
TransactionTable txTable = advancedCache.getComponentRegistry().getComponent(TransactionTable.class);
LocalTransaction tx = txTable.getLocalTransaction(tm.getTransaction());
assertTrue(tx.ownsLock("k"));
assertLocked(advancedCache,"k");
tm.commit();
assertNotLocked(advancedCache,"k");
}