When this action is executed the result of evaluating result is returned by
the current run of Expect.
If more than one returning action is added to a When only the last result will be returned.
Note however that every ReturningAction will still be executed.
When this action is executed the result of evaluating
result
is returned by the current run of Expect. If more than one returning action is added to a When only the lastresult
will be returned. Note however that everyReturningAction
will still be executed.