uow.registerAggregate(aggregate, mock(EventBus.class), mock(SaveAggregateCallback.class));
aggregate.doSomething();
aggregate.doSomething();
RuntimeException mockFailure = new RuntimeException("mock");
uow.rollback(mockFailure);
verify(mockAuditDataProvider, times(2)).provideAuditDataFor(any(CommandMessage.class));
verify(mockAuditLogger, never()).logSuccessful(eq(command), any(Object.class), any(List.class));
verify(mockAuditLogger).logFailed(eq(command), eq(mockFailure), listWithTwoEventMessages());
}