Package org.hamcrest.collection
package org.hamcrest.collection
Matchers of arrays and collections.
-
ClassesClassDescriptionMatches if an array contains an item satisfying a nested matcher.IsArray<T>Matcher for array whose elements satisfy a sequence of matchers.Deprecated.Deprecated.As of release 2.1, replaced by
ArrayMatching
.Matches if array size satisfies a nested matcher.Matches if collection size satisfies a nested matcher.Tests if collection is empty.Tests if collection is empty.IsIn<T>IsMapContaining<K,V> IsMapWithSize<K,V> Matches if map size satisfies a nested matcher.
ArrayMatching
.