AnyOf

Deprecated

Obsolete varargs API. Read `VarArgMatcher` docs for more details.

Replace with

import dev.mokkery.matcher.ArgMatcher
ArgMatcher.Any

Matches any sequence of varargs.

Parameters

type

of vararg element to provide vararg type information in AnyOf.toString

Constructors

Link copied to clipboard
constructor(type: KClass<*>)

Functions

Link copied to clipboard
override fun matches(arg: Any?): Boolean
Link copied to clipboard
open override fun matchesVarargs(varargs: List<Any?>): Boolean
Link copied to clipboard

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

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