runs

abstract infix fun runs(action: SideEffect): KMockContract.ProxySideEffectBuilder<ReturnValue, SideEffect>

Convenient method for multiple SideEffects, which uses under the sideEffects property. This chains SideEffects together according to their given order.

Return

ProxySideEffectBuilder.

Parameters

action
  • a SideEffect which is chained into the sideEffects property.