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