ExpectStage

Interface for defining and executing expectations on saga test results.

This interface extends StatelessSagaExpecter and provides methods to verify that all accumulated expectations are met by the actual saga results.

Type Parameters

T

The type of the saga being tested.

Functions

Link copied to clipboard
open fun verify(): ExpectedResult<T>

Verifies all expectations immediately.

abstract fun verify(immediately: Boolean): ExpectedResult<T>

Executes the verification logic after completing the test flow orchestration.