SagaSpec

constructor(block: StatelessSagaDsl<T>.() -> Unit)

Parameters

block

The test specification block that defines the saga test scenarios. This is a lambda with receiver of type StatelessSagaDsl, where T is the saga type. It contains the test definitions using the DSL methods.

Type Parameters

T

The type of the saga being tested, must be a class that implements the saga logic.