ContainsAnyArray
class ContainsAnyArray<T : Any>(val elementType: KClass<*>, val predicate: (T) -> Boolean) : ArrayArgMatcher<T> (source)
Matches an array that contains any element matching predicate.
Important: elementType must be a KClass of Any if a generic Array is used. For other arrays, e.g., IntArray, the element type is expected, in this case Int.
Functions
Link copied to clipboard
Link copied to clipboard
Helper function to propagate capture for dev.mokkery.matcher.ArgMatcher.Composite.