expectCalls

fun expectCalls(vararg bodies: Any)

The handlers called commands of exactly these bodies synchronously, in order, field by field as their target reads them (StructuralDiff.ofCommands): a mismatch lists each difference by its path.