expectCommandBody
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.