CollectionArgMatchers
Contains matchers for collections
Types
Link copied to clipboard
class ContainsAllArray<T : Any>(val elementType: KClass<*>, val predicate: (T) -> Boolean) : ArrayArgMatcher<T>
Matches an array that contains only elements matching predicate.
Link copied to clipboard
Link copied to clipboard
class ContainsAnyArray<T : Any>(val elementType: KClass<*>, val predicate: (T) -> Boolean) : ArrayArgMatcher<T>
Matches an array that contains any element matching predicate.
Link copied to clipboard
Link copied to clipboard
Matches an array that is equal to array with contentDeepEquals.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard