public void testBatchWithoutOngoingTMSuspension() throws Exception {
Cache cache = createCache("testBatchWithoutOngoingTMSuspension");
TransactionManager tm = TestingUtil.getTransactionManager(cache);
assert tm.getTransaction() == null : "Should have no ongoing txs";
cache.startBatch();
cache.put("k", "v");
assert tm.getTransaction() == null : "Should have no ongoing txs";
cache.put("k2", "v2");
assert getOnDifferentThread(cache, "k") == null;