wasSetTo

abstract fun KMockContract.PropertyProxy<*>.wasSetTo(value: Any?)

Asserts that a PropertyProxy was invoked as a Setter with a given value.

Parameters

value

the expected value.

Throws

AssertionError

if the assertion fails.