assertFalse(listener.hasSucceeded());
assertFalse(listener.hasFailed());
assertFalse(listener.hasFinished());
listener.onSucceeded();
listener.onFailed(new RollbackReason("Test fail."));
assertTrue(listener.hasSucceeded());
assertTrue(listener.hasFailed());
assertTrue(listener.hasFinished());
listener.reset();