public void testLocksOnPutKeyVal() throws Exception {
LockTestBaseTL tl = threadLocal.get();
Cache<String, String> cache = tl.cache;
DummyTransactionManager tm = (DummyTransactionManager) tl.tm;
tm.begin();
cache.put("k", "v");
assert tm.getTransaction().runPrepare();
assertLocked("k");
tm.getTransaction().runCommitTx();
tm.suspend();