assertPrepared(0, suspend);
assertEquals(0, TestingUtil.getTransactionTable(cache).getLocalTxCount());
}
public void testMultipleTransactions() throws Exception {
DummyTransaction suspend1 = beginTx();
DummyTransaction suspend2 = beginTx();
DummyTransaction suspend3 = beginTx();
DummyTransaction suspend4 = beginTx();
assertPrepared(0, suspend1, suspend2, suspend3, suspend4);
prepareTransaction(suspend1);
assertPrepared(1, suspend1, suspend2, suspend3, suspend4);