whenCommitted
Hands the success receipt of command to the saga's @OnCommitted handler of it, as the runtime does once a command a handler derived is committed, in the saga's context or another. command is one this specification derived (ProcessorExpectations.commands), so the receipt goes back to the execution that derived it. It was committed on the aggregate aggregateId (the target's, for a creation that named none) at version, duplicate when the target had already committed its request; commandType is its full type name (commandTypeOf by default). expect checks the commands the handler derives; it fails when the saga has no handler of that receipt.
Hands committed, the success receipt of a command of command that the saga's handler named by its CommandReceipt.Committed.executionId derived, to the saga's @OnCommitted handler of it, as the runtime does: build it with committedReceipt. expect checks the commands the handler derives; it fails when the saga has no handler of that receipt.