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