T - type of strategies to be matchedpublic class EntityMatcher<T> extends AbstractJEntityMatcher<T>
resultProcessor| Constructor and Description |
|---|
EntityMatcher(Object expected) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeMismatch(Object item,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
boolean |
matches(Object item)
Performs matching using the EntityComparator between the actualItem and expected
|
setResultProcessorpublic EntityMatcher(Object expected)
public boolean matches(Object item)
item - actual objectpublic void describeMismatch(Object item, org.hamcrest.Description description)
public void describeTo(org.hamcrest.Description description)
Copyright © 2021. All rights reserved.