isSame

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

VerificationConstraint matches if the actual and expected value are identical.

Author

Matthias Geisler

See also

Parameters

expected

the expected value which should match.

Constructors

isSame
Link copied to clipboard
common
fun isSame(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