Matcher<java.lang.Object>, SelfDescribingpublic static class SamePropertyValuesAs.PropertyMatcher extends DiagnosingMatcher<java.lang.Object>
| Constructor | Description |
|---|---|
PropertyMatcher(java.beans.PropertyDescriptor descriptor,
java.lang.Object expectedObject) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
describeTo(Description description) |
Generates a description of the object.
|
boolean |
matches(java.lang.Object actual,
Description mismatch) |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toStringdescribeMismatch, matchespublic 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.