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_, toString
public SamePropertyValuesAs.PropertyMatcher(PropertyDescriptor descriptor, Object expectedObject)
public boolean matches(Object actual, Description mismatchDescription)
matches
in class DiagnosingMatcher<Object>
public void describeTo(Description description)
SelfDescribing
description
- The description to be built or appended to.Copyright © 2016. All rights reserved.