public static class SamePropertyValuesAs.PropertyMatcher extends DiagnosingMatcher<java.lang.Object>
| Constructor and Description |
|---|
PropertyMatcher(java.beans.PropertyDescriptor descriptor,
java.lang.Object expectedObject) |
| Modifier and Type | Method and Description |
|---|---|
void |
describeTo(Description description)
Generates a description of the object.
|
boolean |
matches(java.lang.Object actual,
Description mismatch) |
describeMismatch, matches_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringpublic PropertyMatcher(java.beans.PropertyDescriptor descriptor,
java.lang.Object expectedObject)
public boolean matches(java.lang.Object actual,
Description mismatch)
matches in class DiagnosingMatcher<java.lang.Object>public void describeTo(Description description)
SelfDescribingdescription - The description to be built or appended to.