hasBeenCalledWith

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

Asserts that a FunProxy was called with n-parameter.

Parameters

arguments

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

Throws

if the assertion fails