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_, toString
public 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)
SelfDescribing
description
- The description to be built or appended to.