ExpectedResult
Represents the expected result of a stateless saga processing operation.
This data class encapsulates the outcome of processing a domain event through a stateless saga, including the event exchange, processor, generated commands, and any errors that occurred.
Parameters
The type of the saga processor.
Constructors
Properties
Functions
Sets expectations on the expected result using a lambda.
Sets expectations on the first command in the command stream.
Sets expectations on the body of the first command.
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 an error of a specific type (Java Class version).
Expects an error of a specific type.
Expects that no commands were generated by the saga.
Expects that no error occurred during saga processing.