@Test
public void testBuildBubbleMessgae() {

    // Setup
    final GlobalTransaction globalTransaction = mock(GlobalTransaction.class);
    final String gtx = "gtx";
    final String traceId = "trace";
    final String FLTX = "FLTX";
    final String PGTX = "PGTX";
    when(globalTransaction.getId()).thenReturn(gtx);
    when(globalTransaction.getTraceId()).thenReturn(traceId);
    // Run the test
    final BubbleMessage result = innerGlobalTxStepVisitorUnderTest.buildBubbleMessgae(globalTransaction, FLTX, PGTX);
    // Verify the results
    assertEquals(result.getGLTX(), gtx);
    assertEquals(result.getTraceId(), traceId);
    assertEquals(result.getFLTX(), FLTX);
    assertEquals(result.getPGTX(), PGTX);
}