@Test @DisplayName(NOT_ACCEPT_NULLS) void passNullToleranceCheck() { DispatchOutcome outcome = DispatchOutcome.getDefaultInstance(); DispatchOutcomeHandler handler = DispatchOutcomeHandler.from(outcome); new NullPointerTester().testAllPublicInstanceMethods(handler); }
public static DispatchOutcomeHandler from(DispatchOutcome outcome) { checkNotNull(outcome); return new DispatchOutcomeHandler(outcome); }
DispatchOutcomeHandler { public static DispatchOutcomeHandler from(DispatchOutcome outcome) { checkNotNull(outcome); return new DispatchOutcomeHandler(outcome); } }
DispatchOutcomeHandler { public static DispatchOutcomeHandler from(DispatchOutcome outcome) { checkNotNull(outcome); return new DispatchOutcomeHandler(outcome); } private  DispatchOutcomeHandler(DispatchOutcome outcome); }
DispatchOutcomeHandler { public static DispatchOutcomeHandler from(DispatchOutcome outcome) { checkNotNull(outcome); return new DispatchOutcomeHandler(outcome); } private  DispatchOutcomeHandler(DispatchOutcome outcome); static DispatchOutcomeHandler from(DispatchOutcome outcome); DispatchOutcomeHandler onError(OutcomeHandler<Error> handler); DispatchOutcomeHandler onInterruption(OutcomeHandler<Interruption> handler); DispatchOutcomeHandler onIgnored(OutcomeHandler<Ignore> handler); DispatchOutcomeHandler onSuccess(OutcomeHandler<Success> handler); DispatchOutcomeHandler afterSuccess(OutcomeHandler<Success> handler); DispatchOutcomeHandler onRejection(OutcomeHandler<Event> handler); DispatchOutcomeHandler onCommands(OutcomeHandler<List<Command>> handler); DispatchOutcomeHandler onEvents(OutcomeHandler<List<Event>> handler); @CanIgnoreReturnValue DispatchOutcome handle(); }
DispatchOutcomeHandler { public static DispatchOutcomeHandler from(DispatchOutcome outcome) { checkNotNull(outcome); return new DispatchOutcomeHandler(outcome); } private  DispatchOutcomeHandler(DispatchOutcome outcome); static DispatchOutcomeHandler from(DispatchOutcome outcome); DispatchOutcomeHandler onError(OutcomeHandler<Error> handler); DispatchOutcomeHandler onInterruption(OutcomeHandler<Interruption> handler); DispatchOutcomeHandler onIgnored(OutcomeHandler<Ignore> handler); DispatchOutcomeHandler onSuccess(OutcomeHandler<Success> handler); DispatchOutcomeHandler afterSuccess(OutcomeHandler<Success> handler); DispatchOutcomeHandler onRejection(OutcomeHandler<Event> handler); DispatchOutcomeHandler onCommands(OutcomeHandler<List<Command>> handler); DispatchOutcomeHandler onEvents(OutcomeHandler<List<Event>> handler); @CanIgnoreReturnValue DispatchOutcome handle();  }