public class IsIterableContainingInOrder<E> extends TypeSafeDiagnosingMatcher<Iterable<E>>
| Constructor and Description |
|---|
IsIterableContainingInOrder(List<Matcher<? super E>> matchers) |
| Modifier and Type | Method and Description |
|---|---|
static <E> Matcher<Iterable<E>> |
contains(E... items) |
static <E> Matcher<Iterable<E>> |
contains(List<Matcher<? super E>> contents) |
static <E> Matcher<Iterable<E>> |
contains(Matcher<? super E>... items) |
static <E> Matcher<Iterable<E>> |
contains(Matcher<E> item) |
void |
describeTo(Description description)
Generates a description of the object.
|
protected boolean |
matchesSafely(Iterable<E> iterable,
Description mismatchDescription)
Subclasses should implement this.
|
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringprotected boolean matchesSafely(Iterable<E> iterable, Description mismatchDescription)
TypeSafeDiagnosingMatchermatchesSafely in class TypeSafeDiagnosingMatcher<Iterable<E>>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.Copyright © 2016. All rights reserved.