Uses of Interface
io.axoniq.framework.workflow.runtime.test.fixture.AssertionFailureHandler
Packages that use AssertionFailureHandler
Package
Description
The given/when/then style test fixture API for workflow runtime tests, including the staged
WorkflowTestFixture, the lower-level WorkflowTestDriver, and the shared testing state and services
backing both.-
Uses of AssertionFailureHandler in io.axoniq.framework.workflow.runtime.test.fixture
Classes in io.axoniq.framework.workflow.runtime.test.fixture that implement AssertionFailureHandlerModifier and TypeClassDescriptionstatic classFailure handler that throws anAssertionError.static classFailure handler that throws anWorkflowTestFixtureException.Methods in io.axoniq.framework.workflow.runtime.test.fixture that return AssertionFailureHandlerModifier and TypeMethodDescriptionDefaultWorkflowTestDriver.assertionFailureHandler()WorkflowTestDriver.assertionFailureHandler()Returns the assertion failure handler.static AssertionFailureHandlerAssertionFailureHandler.handler(boolean throwFixtureException) Constructs a new failure handler.Methods in io.axoniq.framework.workflow.runtime.test.fixture with parameters of type AssertionFailureHandlerModifier and TypeMethodDescriptionvoidWorkflowEngineTestingState.hasSteps(AssertionFailureHandler assertionFailureHandler, String stepName, String... stepNames) Verifies that given steps exist in the workflow state.voidWorkflowEngineTestingState.hasStepsInAnyOrder(AssertionFailureHandler assertionFailureHandler, String stepName, String... stepNames) Verifies that given steps exist in the workflow state in any order.voidWorkflowEngineTestingState.hasStepsInOrder(AssertionFailureHandler assertionFailureHandler, String stepName, String... stepNames) Verifies that given steps exist in the workflow state in the given order.WorkflowEngineTestingState.payloadMatches(AssertionFailureHandler assertionFailureHandler, Predicate<Map<String, @Nullable Object>> predicate) Waits until the workflow payload matches the given predicate.default WorkflowStepWorkflowEngineTestingState.step(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowStep> predicate) Waits until a step satisfies the given predicate.WorkflowEngineTestingState.stepMatches(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowStep> predicate) Waits until a step satisfies the given predicate.voidWorkflowEngineTestingState.stepSatisfies(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowStep> predicate, Consumer<WorkflowStep> stepConsumer) Applies a consumer to the first step matching the predicate.voidWorkflowEngineTestingState.stepsPassed(AssertionFailureHandler assertionFailureHandler, String stepName, String... stepNames) Verifies that given steps have passed.voidWorkflowEngineTestingState.waitingIn(AssertionFailureHandler assertionFailureHandler, String stepName, String... stepNames) Verifies that given steps are waiting in the workflow execution.WorkflowEngineTestingState.workflowStateMatches(AssertionFailureHandler assertionFailureHandler, Predicate<WorkflowState> predicate) Waits until the workflow state matches the given predicate.