assertEquals(2, server.getTransactions().size());
server.commit(THREAD2);
assertEquals(1, server.getTransactions().size());
Transaction t = server.getTransactions().iterator().next();
assertEquals(THREAD1, t.getAssociatedSession());
assertNotNull(t.getId());
}