Package tech.antibytes.kmock.verification.constraints

Types

and
Link copied to clipboard
common
class and(subConstraints: Any?) : KMockContract.ArgumentConstraint
VerificationConstraint which allows to chain multiple values or constraints together.
any
Link copied to clipboard
common
class any(expected: KClass<*>?) : KMockContract.ArgumentConstraint
VerificationConstraint which allows any value including null.
eq
Link copied to clipboard
common
class eq(expected: Any?) : KMockContract.ArgumentConstraint
VerificationConstraint matches if the actual and expected value are equal.
isSame
Link copied to clipboard
common
class isSame(expected: Any?) : KMockContract.ArgumentConstraint
VerificationConstraint matches if the actual and expected value are identical.
not
Link copied to clipboard
common
class not(constraint: KMockContract.ArgumentConstraint) : KMockContract.ArgumentConstraint
or
Link copied to clipboard
common
class or(subConstraints: Any?) : KMockContract.ArgumentConstraint
VerificationConstraint which allows to chain multiple values or constraints together.

Functions

isNot
Link copied to clipboard
common
fun isNot(illegal: Any?): KMockContract.ArgumentConstraint
VerificationConstraint matches if the actual and expected value are not equal.
isNotSame
Link copied to clipboard
common
fun isNotSame(illegal: Any?): KMockContract.ArgumentConstraint
VerificationConstraint matches if the actual and expected value are not identical.