| Modifier and Type | Method and Description |
|---|---|
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public static <U> Matcher | |
| public boolean | matchesSafely(Iterable<? extends T> collection, Description mismatchDescription)
Implements abstract org. |
| matcher | back to summary |
|---|---|
| private final Matcher<? super T> matcher | |
| Every | back to summary |
|---|---|
| public Every(Matcher<? super T> matcher) | |
| 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.
| |
| everyItem | back to summary |
|---|---|
| public static <U> Matcher Creates a matcher for assertThat(Arrays.asList("bar", "baz"), everyItem(startsWith("ba")))
| |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(Iterable<? extends T> collection, Description mismatchDescription) 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.
| |