Package org.hibernate.testing.hamcrest
Class HasNullElementsMatcher<C extends Collection<?>>
- java.lang.Object
-
- org.hamcrest.BaseMatcher<C>
-
- org.hibernate.testing.hamcrest.HasNullElementsMatcher<C>
-
- All Implemented Interfaces:
org.hamcrest.Matcher<C>
,org.hamcrest.SelfDescribing
public class HasNullElementsMatcher<C extends Collection<?>> extends org.hamcrest.BaseMatcher<C>
-
-
Field Summary
Fields Modifier and Type Field Description static HasNullElementsMatcher
HAS_NO_NULL_ELEMENTS_MATCHER
static HasNullElementsMatcher
HAS_NULL_ELEMENTS_MATCHER
-
Constructor Summary
Constructors Constructor Description HasNullElementsMatcher(boolean negated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matches(Object item)
-
-
-
Field Detail
-
HAS_NULL_ELEMENTS_MATCHER
public static final HasNullElementsMatcher HAS_NULL_ELEMENTS_MATCHER
-
HAS_NO_NULL_ELEMENTS_MATCHER
public static final HasNullElementsMatcher HAS_NO_NULL_ELEMENTS_MATCHER
-
-
Method Detail
-
matches
public boolean matches(Object item)
-
describeTo
public void describeTo(org.hamcrest.Description description)
-
-