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_, toString
public boolean matchesSafely(Iterable<E> iterable)
TypeSafeMatcher
matchesSafely
in class TypeSafeMatcher<Iterable<E>>
public void describeMismatchSafely(Iterable<E> iter, Description mismatchDescription)
TypeSafeMatcher
describeMismatchSafely
in class TypeSafeMatcher<Iterable<E>>
public void describeTo(Description description)
SelfDescribing
description
- The description to be built or appended to.Copyright © 2016. All rights reserved.