eventBus.subscribe(new CommandExecutingEventListener("1", null, true));
eventBus.subscribe(new CommandExecutingEventListener("2", null, true));
UnitOfWork uow = uowFactory.createUnitOfWork();
repository.add(new Aggregate(id));
uow.commit();
Aggregate verify = loadAggregate(id);
assertEquals(2, verify.tokens.size());
assertTrue(verify.tokens.containsAll(asList("1", "2")));
}