public class IsEmptyIterable<E> extends TypeSafeMatcher<Iterable<E>>
| Constructor and Description |
|---|
IsEmptyIterable() |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatchSafely(Iterable<E> iter,
Description mismatchDescription)
Subclasses should override this.
|
void |
describeTo(Description description)
Generates a description of the object.
|
static <E> Matcher<Iterable<E>> |
emptyIterable()
Matches an empty iterable.
|
boolean |
matchesSafely(Iterable<E> iterable)
Subclasses should implement this.
|
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic boolean matchesSafely(Iterable<E> iterable)
TypeSafeMatchermatchesSafely in class TypeSafeMatcher<Iterable<E>>public void describeMismatchSafely(Iterable<E> iter, Description mismatchDescription)
TypeSafeMatcherdescribeMismatchSafely in class TypeSafeMatcher<Iterable<E>>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.Copyright © 2016. All rights reserved.