RelaxationFunConfigurator

Configures non intrusive Behaviour for FunProxies.

Author

Matthias Geisler

See also

Parameters

ReturnValue

the return value type of the hosting Proxy.

SideEffect

the function signature of the hosting Proxy.

Functions

useRelaxerIf
Link copied to clipboard
common
abstract fun useRelaxerIf(condition: Boolean, relaxer: (String) -> ReturnValue)
Binds a given Relaxer function to a Proxy if the condition is true.
useUnitFunRelaxerIf
Link copied to clipboard
common
abstract fun useUnitFunRelaxerIf(condition: Boolean)
Binds the internal UnitFunRelaxer to the Proxy, if the given condition is true.

Inheritors

KMockContract
Link copied to clipboard