ChainedAssertion

Combination of AssertionInsurance and AssertionContext

See also

Functions

Link copied to clipboard
abstract fun ensureVerificationOf(vararg proxies: KMockContract.Proxy<*, *>)

Ensures that given Proxies are covered by the AssertionChain.

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 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.