| Modifier and Type | Field and Description |
|---|---|
| private final TypeSafeDiagnosingMatcher | |
| private final Matcher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeMismatchSafely(T[] actual, Description mismatchDescription)
Overrides org. |
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| public boolean | matchesSafely(T[] actual)
Implements abstract org. |
| collectionMatcher | back to summary |
|---|---|
| private final TypeSafeDiagnosingMatcher<Iterable<? super T>> collectionMatcher | |
| elementMatcher | back to summary |
|---|---|
| private final Matcher<? super T> elementMatcher | |
| HasItemInArray | back to summary |
|---|---|
| public HasItemInArray(Matcher<? super T> elementMatcher) | |
| describeMismatchSafely | back to summary |
|---|---|
| public void describeMismatchSafely(T[] actual, 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(T[] actual) 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.
| |