Package org.hibernate.testing.hamcrest
Class CollectionElementMatcher<E,C extends Collection<E>>
java.lang.Object
org.hamcrest.BaseMatcher<C>
org.hibernate.testing.hamcrest.CollectionElementMatcher<E,C>
- All Implemented Interfaces:
org.hamcrest.Matcher<C>
,org.hamcrest.SelfDescribing
public class CollectionElementMatcher<E,C extends Collection<E>>
extends org.hamcrest.BaseMatcher<C>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
describeTo
(org.hamcrest.Description description) static <T> org.hamcrest.Matcher<Collection<T>>
hasAllOf
(org.hamcrest.Matcher<T>... elementMatchers) boolean
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, isNotNull, toString
-
Constructor Details
-
CollectionElementMatcher
-
-
Method Details
-
hasAllOf
public static <T> org.hamcrest.Matcher<Collection<T>> hasAllOf(org.hamcrest.Matcher<T>... elementMatchers) -
matches
-
describeTo
public void describeTo(org.hamcrest.Description description)
-