});
for (int a = 0; a < AGGREGATE_COUNT; a++) {
testSubject.dispatch(new GenericCommandMessage<CreateCommand>(new CreateCommand(aggregateIdentifier[a])));
}
CommandCallback mockCallback = mock(CommandCallback.class);
for (int t = 0; t < COMMAND_COUNT; t++) {
for (int a = 0; a < AGGREGATE_COUNT; a++) {
CommandMessage command;
if (t == 10) {
command = new GenericCommandMessage<ErrorCommand>(new ErrorCommand(aggregateIdentifier[a]));