Package org.hamcrest.beans
Class SamePropertyValuesAs.PropertyMatcher
- All Implemented Interfaces:
Matcher<Object>,SelfDescribing
- Enclosing class:
- SamePropertyValuesAs<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddescribeTo(Description description) Generates a description of the object.booleanmatches(Object actual, Description mismatch) Methods inherited from class org.hamcrest.DiagnosingMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Field Details
-
readMethod
-
matcher
-
propertyName
-
-
Constructor Details
-
PropertyMatcher
-
-
Method Details
-
matches
- Specified by:
matchesin classDiagnosingMatcher<Object>
-
describeTo
Description copied from interface:SelfDescribingGenerates a description of the object. The description may be part of a a description of a larger object of which this is just a component, so it should be worded appropriately.- Parameters:
description- The description to be built or appended to.
-