@Test
public void testBuilder() {

    // Run the test
    final OuterLocalTxStepVisitor result = OuterLocalTxStepVisitor.builder()
            .bubbleCache(mockBubbleCache)
            .applicationEventPublisher(mockApplicationEventPublisher)
            .provision(mockProvision)
            .commandOrchestrator(mockCommandOrchestrator)
            .transactionUtilities(mockUtilities)
            .build();
    // Verify the results
    assertEquals(mockBubbleCache, result.getBubbleCache());
    assertEquals(mockApplicationEventPublisher, result.getApplicationEventPublisher());
    assertEquals(mockProvision, result.getProvision());
    assertEquals(mockCommandOrchestrator, result.getCommandOrchestrator());
    assertEquals(mockUtilities, result.getUtilities());
}