AnsweringScope
Scope for defining an answer for a function call.
Inheritors
Functions
Link copied to clipboard
Function call returns argument at index.
Link copied to clipboard
Function call returns Result.failure with error.
Link copied to clipboard
Function call returns Result.failure with exception provided each time by function.
Link copied to clipboard
Function call returns Result.success with value.
Link copied to clipboard
Function call returns Result.success with value provided each time by function.
Link copied to clipboard
Simplification for sequentially with multiple returns calls.
Link copied to clipboard
Simplification for sequentially with multiple throws calls.
Link copied to clipboard
Function call always throws an IllegalStateException with given message.