Matcher anyElement(matcher)

Returns a matcher which matches Iterables in which at least one element matches the given matcher.

Source

Matcher anyElement(matcher) => new _AnyElement(wrapMatcher(matcher));