| Modifier and Type | Field and Description |
|---|---|
| protected final TypeSafeDiagnosingMatcher | |
| protected final Collection | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | ArrayAsIterableMatcher(TypeSafeDiagnosingMatcher<Iterable<? extends E>> iterableMatcher, Collection<Matcher<? super E>> matchers, String message)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | describeMismatchSafely(E[] item, Description mismatchDescription)
Overrides org. |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public boolean | matchesSafely(E[] item)
Implements abstract org. |
| iterableMatcher | back to summary |
|---|---|
| protected final TypeSafeDiagnosingMatcher<Iterable<? extends E>> iterableMatcher | |
| matchers | back to summary |
|---|---|
| protected final Collection<Matcher<? super E>> matchers | |
| message | back to summary |
|---|---|
| private final String message | |
| ArrayAsIterableMatcher | back to summary |
|---|---|
| public ArrayAsIterableMatcher(TypeSafeDiagnosingMatcher<Iterable<? extends E>> iterableMatcher, Collection<Matcher<? super E>> matchers, String message) | |
| describeMismatchSafely | back to summary |
|---|---|
| public void describeMismatchSafely(E[] item, 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.
| |
| matchesSafely | back to summary |
|---|---|
| public boolean matchesSafely(E[] item) 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.
| |