ArrayMatcher

data class ArrayMatcher<in T : Any>(matchers: List<Matcher<Any>>) : Matcher<T> , CapturingMatcher

Matcher that can match arrays via provided matchers for each element.

Constructors

Link copied to clipboard
constructor(matchers: List<Matcher<Any>>)

Functions

Link copied to clipboard
open override fun capture(arg: Any?)
Link copied to clipboard
open override fun match(arg: T?): Boolean
Link copied to clipboard
open override fun substitute(map: Map<Any, Any>): ArrayMatcher<T>
Link copied to clipboard
open override fun toString(): String