ExpectDsl
DSL interface for defining expectations on saga test results.
This interface extends StatelessSagaExpecter to provide a fluent API for asserting expectations on the commands and errors produced by saga processing.
Parameters
The type of the saga being tested.
Inheritors
Functions
Sets expectations on the first command in the command stream.
Expects a specific number of commands in the command stream.
Sets expectations on a command iterator created from the command stream.
Sets expectations on the command stream, ensuring no error occurred first.
Expects commands of specific types in order (Java Class version).
Expects commands of specific types in order.
Expects that an error occurred during saga processing.
Expects a specific error with custom assertions.
Expects that no commands were generated by the saga.
Expects that no error occurred during saga processing.