public class IsEmptyCollection<E> extends CollectionMatcher<java.util.Collection<E>>
| Constructor and Description |
|---|
IsEmptyCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
static <E> org.hamcrest.Matcher<java.util.Collection<E>> |
empty()
Matches an empty collection.
|
boolean |
matchesSafely(java.util.Collection<E> item) |
matchespublic boolean matchesSafely(java.util.Collection<E> item)
matchesSafely in class CollectionMatcher<java.util.Collection<E>>public void describeTo(org.hamcrest.Description description)
public static <E> org.hamcrest.Matcher<java.util.Collection<E>> empty()