@Test
public void injectTransactionContextExplicitly() throws Throwable {

  when(joinPoint.getArgs()).thenReturn(new Object[]{transactionContextProperties});
  aspect.advise(joinPoint, participate);
  assertThat(participationStartedEvents.size(), is(1));
  ParticipationStartedEvent participationStartedEvent = participationStartedEvents.get(0);
  assertThat(participationStartedEvent.getGlobalTxId(), is(transactionGlobalTxId));
  assertThat(participationStartedEvent.getParentTxId(), is(transactionLocalTxId));
  assertThat(participationStartedEvent.getLocalTxId(), is(newLocalTxId));
  assertThat(omegaContext.globalTxId(), is(transactionGlobalTxId));
  assertThat(omegaContext.localTxId(), is(transactionLocalTxId));
}