| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final T | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| private static List | |
| protected boolean | matchesSafely(T item, Description mismatch)
Implements abstract org. |
| private static Object |
| expectedObject | back to summary |
|---|---|
| private final T expectedObject | |
| fieldMatchers | back to summary |
|---|---|
| private final List<HasEqualValues. | |
| HasEqualValues | back to summary |
|---|---|
| public HasEqualValues(T expectedObject) | |
| 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.
| |
| fieldMatchers | back to summary |
|---|---|
| private static List | |
| matchesSafely | back to summary |
|---|---|
| protected boolean matchesSafely(T item, Description mismatch) 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.
| |
| uncheckedGet | back to summary |
|---|---|
| private static Object uncheckedGet(Field field, Object object) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Field | |
| private final Matcher |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | describeTo(Description
The description to be built or appended to. description)Implements org. |
| protected boolean | matches(Object item, Description mismatch)
Implements abstract org. |
| field | back to summary |
|---|---|
| private final Field field | |
| matcher | back to summary |
|---|---|
| private final Matcher<Object> matcher | |
| FieldMatcher | back to summary |
|---|---|
| public FieldMatcher(Field field, Object expectedObject) | |
| 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.
| |
| matches | back to summary |
|---|---|
| protected boolean matches(Object item, Description mismatch) Implements abstract org.
| |