| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeMismatchSafely(Iterable<? extends E> iter, Description mismatchDescription)
Overrides org. |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public static <E> Matcher | |
| public static <E> Matcher | emptyIterableOf(Class<E>
the type of the iterable's content type)Creates a matcher for |
| public boolean | matchesSafely(Iterable<? extends E> iterable)
Implements abstract org. |
| IsEmptyIterable | back to summary |
|---|---|
| public IsEmptyIterable() | |
| describeMismatchSafely | back to summary |
|---|---|
| public void describeMismatchSafely(Iterable<? extends E> iter, Description mismatchDescription) Overrides org. Doc from org. Subclasses should override this. The item will already have been checked for the specific type and will never be null.
| |
| describeTo | back to summary |
|---|---|
| public void describeTo(Description description) Implements org. Doc from org. Generates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.
| |
| emptyIterable | back to summary |
|---|---|
| public static <E> Matcher Creates a matcher for For example: assertThat(new ArrayList<String>(), is(emptyIterable()))
| |
| emptyIterableOf | back to summary |
|---|---|
| public static <E> Matcher Creates a matcher for For example: assertThat(new ArrayList<String>(), is(emptyIterableOf(String.class))) | |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(Iterable<? extends E> iterable) Implements abstract org. Doc from org. Subclasses should implement this. The item will already have been checked for the specific type and will never be null.
| |