@Test
public void newGlobalTxIdInTccStart() throws Throwable {

  aspect.advise(joinPoint, tccStart);
  assertThat(startedEvents.size(), is(1));
  TccStartedEvent startedEvent = startedEvents.get(0);
  assertThat(startedEvent.getGlobalTxId(), is(globalTxId));
  assertThat(startedEvent.getLocalTxId(), is(globalTxId));
  assertThat(endedEvents.size(), is(1));
  TccEndedEvent endedEvent = endedEvents.get(0);
  assertThat(endedEvent.getGlobalTxId(), is(globalTxId));
  assertThat(endedEvent.getLocalTxId(), is(globalTxId));
  assertThat(endedEvent.getStatus(), is(TransactionStatus.Succeed));
  assertThat(omegaContext.globalTxId(), is(nullValue()));
  assertThat(omegaContext.localTxId(), is(nullValue()));
}