ChainedAssertion

Combination of AssertionInsurance and AssertionContext

See also

Functions

ensureVerificationOf
Link copied to clipboard
common
abstract fun ensureVerificationOf(vararg proxies: KMockContract.Proxy<*, *>)
Ensures that given Proxies are covered by the AssertionChain.
hasBeenCalled
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalled()
Asserts that a FunProxy was called.
hasBeenCalledWith
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWith(vararg arguments: Any?)
Asserts that a FunProxy was called with n-parameter.
hasBeenCalledWithout
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWithout(vararg illegal: Any?)
Asserts that a FunProxy was without called n-parameter.
hasBeenCalledWithVoid
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWithVoid()
Asserts that a FunProxy was called without any parameter.
hasBeenStrictlyCalledWith
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenStrictlyCalledWith(vararg arguments: Any?)
Asserts that a FunProxy was called with n-parameter.
wasGotten
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasGotten()
Asserts that a PropertyProxy was invoked as a Getter.
wasSet
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasSet()
Asserts that a PropertyProxy was invoked as a Setter.
wasSetTo
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasSetTo(value: Any?)
Asserts that a PropertyProxy was invoked as a Setter with a given value.