eq

class eq(expected: Any?) : KMockContract.ArgumentConstraint

VerificationConstraint matches if the actual and expected value are equal.

Author

Matthias Geisler

See also

Parameters

expected

the expected value which should match.

Constructors

eq
Link copied to clipboard
common
fun eq(expected: Any?)
the expected value which should match.

Functions

matches
Link copied to clipboard
common
open override fun matches(actual: Any?): Boolean
Resolves if the constraint matches the given Proxy Argument.
toString
Link copied to clipboard
common
open override fun toString(): String