}
@Test (expected=IllegalStateException.class)
public void testCommitThenRollback() {
Transaction transaction = instance.getTransaction();
transaction.begin();
IMap<String, String> imap = instance.getMap(AUTH_MAP_NAME);
assertNull(imap.get("key"));
imap.put("key", "value");
transaction.commit();
// Check that when trying to rollback after having commited will throw an IllegalStageException