whenRejected

fun whenRejected(command: Command<*>, code: String, message: String = code, commandType: String = commandTypeOf(command), expect: ProcessorExpectations.() -> Unit = {})

Hands the rejection of command, one this handling derived, to the saga's @OnRejected handler of it, as ProcessorSpec.whenRejected does: the specification goes on from this handling.