ScriptedResponder

constructor(outcomes: List<Result<Response>>, fallback: Result<Response>? = null)(source)

Parameters

outcomes

Successes and failures, indexed by call number.

fallback

The outcome for calls after the script is used; null throws Exhausted.