CloseableAssertionContext

Provider for Assertions.

Author

Matthias Geisler

Functions

Link copied to clipboard

Asserts that a FunProxy was called.

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

Asserts that a FunProxy was called with n-parameter.

Link copied to clipboard
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWithout(vararg illegal: Any?)

Asserts that a FunProxy was without called n-parameter.

Link copied to clipboard

Asserts that a FunProxy was called without any parameter.

Link copied to clipboard
abstract fun KMockContract.FunProxy<*, *>.hasBeenStrictlyCalledWith(vararg arguments: Any?)

Asserts that a FunProxy was called with n-parameter.

Link copied to clipboard

Asserts that all invocations had been covered.

Link copied to clipboard

Asserts that a PropertyProxy was invoked as a Getter.

Link copied to clipboard

Asserts that a PropertyProxy was invoked as a Setter.

Link copied to clipboard
abstract fun KMockContract.PropertyProxy<*>.wasSetTo(value: Any?)

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