VerificationContext

interface VerificationContext

Provider for Verification.

Author

Matthias Geisler

Functions

hasBeenCalled
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalled(): KMockContract.Expectation
Collects all invocation of a FunProxy.
hasBeenCalledWith
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWith(vararg arguments: Any?): KMockContract.Expectation
Collects all invocation of an FunProxy which matches the given Arguments.
hasBeenCalledWithout
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWithout(vararg illegal: Any?): KMockContract.Expectation
Collects all invocation of an FunProxy which matches the given Arguments.
hasBeenCalledWithVoid
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenCalledWithVoid(): KMockContract.Expectation
Collects all invocation of a FunProxy which contain no Arguments.
hasBeenStrictlyCalledWith
Link copied to clipboard
common
abstract fun KMockContract.FunProxy<*, *>.hasBeenStrictlyCalledWith(vararg arguments: Any?): KMockContract.Expectation
Collects all invocation of an FunProxy which matches the given Arguments.
wasGotten
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasGotten(): KMockContract.Expectation
Collects all invocation of an PropertyProxy Getter.
wasSet
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasSet(): KMockContract.Expectation
Collects all invocation of an PropertyProxy Setter.
wasSetTo
Link copied to clipboard
common
abstract fun KMockContract.PropertyProxy<*>.wasSetTo(value: Any?): KMockContract.Expectation
Collects all invocation of an PropertyProxy Setter with the given Value.