source: class TccStartAnnotationProcessorTest {
  
    private final String globalTxId;
    private final AlphaResponse response;
    private final AlphaResponse abortResponse;
    private final List<TccStartedEvent> startedEvents;
    private final List<TccEndedEvent> endedEvents;
    private boolean throwException;
    private final IdGenerator<String> generator;
    private final OmegaContext context;
    private final OmegaException exception;
    private final TccMessageSender tccMessageSender;
    private final TccStartAnnotationProcessor tccStartAnnotationProcessor;
  
    @Test
    public void testSendTccEndEventWithoutError() {
  
target:     tccStartAnnotationProcessor.postIntercept(null, "TccStartMethod");
  
      TccEndedEvent event = endedEvents.get(0);
  
      assertThat(event.getGlobalTxId(), is(globalTxId));
      assertThat(event.getLocalTxId(), is(globalTxId));
      assertThat(event.getStatus(), is(TransactionStatus.Succeed));
  
    }
  
  }