}
}
@Test
public void testLoopbackScenario() throws InterruptedException {
TransactionStatus tx = transactionManager.getTransaction(new DefaultTransactionAttribute());
eventStore.appendEvents("AggregateA", new SimpleDomainEventStream(
new GenericDomainEventMessage<CreateEvent>(aggregateAIdentifier, (long) 0,
new CreateEvent(aggregateAIdentifier), MetaData.emptyInstance())));
eventStore.appendEvents("AggregateB", new SimpleDomainEventStream(
new GenericDomainEventMessage<CreateEvent>(aggregateBIdentifier, (long) 0,