CloseableAssertionContext

interface CloseableAssertionContext : KMockContract.AssertionContext

Provider for Assertions.

Author

Matthias Geisler

Functions

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.
hasNoFurtherInvocations
Link copied to clipboard
common
abstract fun KMockContract.Proxy<*, *>.hasNoFurtherInvocations()
Asserts that all invocations had been covered.
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.