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

Link copied to clipboard
fun eq(expected: Any?)

Functions

Link copied to clipboard
open override fun matches(actual: Any?): Boolean

Resolves if the constraint matches the given Proxy Argument.

Link copied to clipboard
open override fun toString(): String