@Test public void testAccept() { final StepGlobalTxVisitor visitor = mock(StepGlobalTxVisitor.class); globalTransactionStepDefinitionUnderTest.accept(visitor); verify(visitor).visit(any()); }
public void accept(StepGlobalTxVisitor visitor){ visitor.visit(this); }
GlobalTransactionStepDefinition extends AbstractTransactionStepDefinition<BaseGlobalTransactionEvent> { public void accept(StepGlobalTxVisitor visitor){ visitor.visit(this); } }
GlobalTransactionStepDefinition extends AbstractTransactionStepDefinition<BaseGlobalTransactionEvent> { public void accept(StepGlobalTxVisitor visitor){ visitor.visit(this); } GlobalTransactionStepDefinition(BaseGlobalTransactionEvent in, Optional<Supplier> process, Stream<BaseTransactionCommand> send, Stream<BaseTransactionEvent> blow, ReceivedCommand receivedCommand, Optional<Consumer<String>> attach, ReceivedCommandGTX receivedCommandGTX, WorkerMeta meta, Stream<BaseTransactionCommand> prepare,CompensateWhen compensateWhen);  GlobalTransactionStepDefinition(); }
GlobalTransactionStepDefinition extends AbstractTransactionStepDefinition<BaseGlobalTransactionEvent> { public void accept(StepGlobalTxVisitor visitor){ visitor.visit(this); } GlobalTransactionStepDefinition(BaseGlobalTransactionEvent in, Optional<Supplier> process, Stream<BaseTransactionCommand> send, Stream<BaseTransactionEvent> blow, ReceivedCommand receivedCommand, Optional<Consumer<String>> attach, ReceivedCommandGTX receivedCommandGTX, WorkerMeta meta, Stream<BaseTransactionCommand> prepare,CompensateWhen compensateWhen);  GlobalTransactionStepDefinition(); static GlobalTransactionPipelineBuilder<T> builder(); void accept(StepGlobalTxVisitor visitor); WorkerMeta getMeta(); Stream<BaseTransactionCommand> getPrepare(); }
GlobalTransactionStepDefinition extends AbstractTransactionStepDefinition<BaseGlobalTransactionEvent> { public void accept(StepGlobalTxVisitor visitor){ visitor.visit(this); } GlobalTransactionStepDefinition(BaseGlobalTransactionEvent in, Optional<Supplier> process, Stream<BaseTransactionCommand> send, Stream<BaseTransactionEvent> blow, ReceivedCommand receivedCommand, Optional<Consumer<String>> attach, ReceivedCommandGTX receivedCommandGTX, WorkerMeta meta, Stream<BaseTransactionCommand> prepare,CompensateWhen compensateWhen);  GlobalTransactionStepDefinition(); static GlobalTransactionPipelineBuilder<T> builder(); void accept(StepGlobalTxVisitor visitor); WorkerMeta getMeta(); Stream<BaseTransactionCommand> getPrepare();  }