T - public class NotEmptyCollection<T> extends com.jayway.jsonassert.impl.matcher.CollectionMatcher<Collection<T>>
| Constructor and Description |
|---|
NotEmptyCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
boolean |
matchesSafely(Collection<T> item) |
static <T> org.hamcrest.Matcher<?> |
notempty()
Matches an empty collection.
|
public NotEmptyCollection()
public boolean matchesSafely(Collection<T> item)
matchesSafely in class com.jayway.jsonassert.impl.matcher.CollectionMatcher<Collection<T>>public void describeTo(org.hamcrest.Description description)
public static <T> org.hamcrest.Matcher<?> notempty()