hasBeenStrictlyCalledWith

abstract fun KMockContract.FunProxy<*, *>.hasBeenStrictlyCalledWith(vararg arguments: Any?): KMockContract.Expectation

Collects all invocation of an FunProxy which matches the given Arguments.

Return

Expectation

See also

Parameters

arguments

or constraints which calls must match. The arguments/constraints must follow the order of the mocked/stubbed function and need to contain all arguments/constraints.