public class SamePersistentFieldsAs<T>
extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
SamePersistentFieldsAs.FieldMatcher<T> |
| Constructor and Description |
|---|
SamePersistentFieldsAs(T expectedEntity) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(org.hamcrest.Description description) |
protected boolean |
matchesSafely(T argument,
org.hamcrest.Description mismatchDescription) |
static <T> org.hamcrest.Matcher<T> |
samePersistentFieldsAs(T entity) |
public SamePersistentFieldsAs(T expectedEntity)
protected boolean matchesSafely(T argument, org.hamcrest.Description mismatchDescription)
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>public void describeTo(org.hamcrest.Description description)
public static <T> org.hamcrest.Matcher<T> samePersistentFieldsAs(T entity)