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) |
matches
public 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 © 2011–2014. All rights reserved.