ExpectStage
Defines the stage for specifying expectations after command execution in aggregate testing.
This interface extends AggregateExpecter to provide methods for validating command results and includes the verify method to execute the accumulated expectations.
Type Parameters
S
the type of the aggregate state
Functions
Link copied to clipboard
fun <S : Any> ExpectStage<S>.fork(displayName: String, context: AggregateDslContext<S>, verifyError: Boolean, block: ForkedVerifiedStageDsl<S>.() -> Unit): DynamicNode
Creates a forked test scenario from the current ExpectStage.
Link copied to clipboard
Executes all accumulated expectations and returns a verified stage.
Executes expectations based on the immediate flag.