call

open fun call(scope: MokkeryBlockingCallScope): T

Provides a return value for a blocking function call with given scope.


open suspend fun call(scope: MokkerySuspendCallScope): T

Provides a return value for a suspend function call with given scope.


open fun call(scope: FunctionScope): T

Deprecated

Migrate to new `Answer.call` overloads. Read `Answer` documentation for migration guide.

DEPRECATED: Use call with MokkeryBlockingCallScope instead!