Package-level declarations

Types

Link copied to clipboard
class and(subConstraints: Any?) : KMockContract.ArgumentConstraint

VerificationConstraint which allows to chain multiple values or constraints together. It matches if all values or constraints matches.

Link copied to clipboard
class any(expected: KClass<*>? = null) : KMockContract.ArgumentConstraint

VerificationConstraint which allows any value including null.

Link copied to clipboard
class eq(expected: Any?) : KMockContract.ArgumentConstraint

VerificationConstraint matches if the actual and expected value are equal.

Link copied to clipboard

VerificationConstraint matches if the actual and expected value are identical.

Link copied to clipboard
Link copied to clipboard
class or(subConstraints: Any?) : KMockContract.ArgumentConstraint

VerificationConstraint which allows to chain multiple values or constraints together. It matches if at least one value or constraints matches.

Functions

Link copied to clipboard

VerificationConstraint matches if the actual and expected value are not equal.

Link copied to clipboard

VerificationConstraint matches if the actual and expected value are not identical.