expectResult

fun expectResult(key: String, value: Any)

The command committed and its decide function put value for the caller under key.