intercept

Invoked on each regular mock call. To continue processing, call MokkeryBlockingCallScope.nextIntercept. The behavior following this call depends on the hook used.

For information on available hooks and their effects, refer to MokkeryCallInterceptor.Companion.


Invoked on each suspend mock call. To continue processing, call MokkerySuspendCallScope.nextIntercept. The behavior following this call depends on the hook used.

For information on available hooks and their effects, refer to MokkeryCallInterceptor.Companion.