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 TypeMethodDescriptionvoid
describeTo
(Description description) Generates a description of the object.boolean
matches
(Object actual, Description mismatch) Methods inherited from class org.hamcrest.DiagnosingMatcher
describeMismatch, matches
Methods 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:
matches
in classDiagnosingMatcher<Object>
-
describeTo
Description copied from interface:SelfDescribing
Generates 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.
-