ExpectDsl

Defines the "Expect" phase of aggregate testing where results are validated.

This interface extends AggregateExpecter to provide comprehensive assertion methods for validating command execution results, and adds the fork method for creating branching test scenarios.

Type Parameters

S

the type of the aggregate state

Inheritors

Functions

Link copied to clipboard
abstract fun fork(name: String = "", verifyError: Boolean = false, block: ForkedVerifiedStageDsl<S>.() -> Unit)

Creates a branching test scenario from the current verified state.

Link copied to clipboard
abstract fun ref(ref: String)

Marks the current ExpectStage with a reference name for later branching.