doExecute

fun doExecute(action: (V) -> R)

Sets the answer to execute a given code block.

Parameters

action

The code block to execute as an answer to the stub being called.