Package org.hamcrest.collection
Matchers of arrays and collections.
-
Class Summary Class Description IsArray<T> Matcher for array whose elements satisfy a sequence of matchers.IsArrayContaining<T> Matches if an array contains an item satisfying a nested matcher.IsArrayContainingInAnyOrder<E> IsArrayContainingInOrder<E> IsArrayWithSize<E> Matches if array size satisfies a nested matcher.IsCollectionWithSize<E> Matches if collection size satisfies a nested matcher.IsEmptyCollection<E> Tests if collection is empty.IsEmptyIterable<E> Tests if collection is empty.IsIn<T> IsIterableContainingInAnyOrder<T> IsIterableContainingInOrder<E> IsIterableWithSize<E> IsMapContaining<K,V>