Equals

class Equals<T>(val value: T) : ArgMatcher<T> , Renderable(source)

Matches an argument that is equal to value.

Constructors

Link copied to clipboard
constructor(value: T)

Properties

Link copied to clipboard
val value: T

Functions

Link copied to clipboard
open override fun matches(arg: T): Boolean
Link copied to clipboard

Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.

Link copied to clipboard
context(scope: MokkeryRenderingScope)
open override fun render(): String

Returns human-readable representation of this object.