expectCommandBody

open override fun <C : Any> expectCommandBody(expected: C.() -> Unit): ExpectDsl<T>

Creates a dynamic test for expectations on the first command's body.

Return

This DSL instance for method chaining.

Parameters

C

The type of the command body.

expected

A lambda function defining expectations on the command body.