Sync Fun Proxy
interface SyncFunProxy<ReturnValue, SideEffect : Function<ReturnValue>> : KMockContract.FunProxy<ReturnValue, SideEffect>
Synchronous function Proxy in order to stub/mock synchronous function behaviour.
Author
Matthias Geisler
Parameters
Return Value
the value type of the hosting PropertyProxy.
Side Effect
the function signature.
Functions
Link copied to clipboard
Resolves given arguments of an invocation.
Link copied to clipboard
Alias setter of returnValue.
Link copied to clipboard
Alias setter of returnValues.
Link copied to clipboard
Alias method for sideEffect
Link copied to clipboard
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.
Link copied to clipboard
Alias setter of errors.