SamePropertyValuesAs.PropertyMatcher (Hamcrest)
Date: 2012-07-09

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hamcrest.beans
Class SamePropertyValuesAs.PropertyMatcher

    java.lang.Object
      org.hamcrest.BaseMatcher<T>
          org.hamcrest.DiagnosingMatcher<java.lang.Object>
              org.hamcrest.beans.SamePropertyValuesAs.PropertyMatcher

All Implemented Interfaces:
  Matcher<java.lang.Object>, SelfDescribing

Enclosing class:
  SamePropertyValuesAs<T>

    public static class SamePropertyValuesAs.PropertyMatcher

extends DiagnosingMatcher<java.lang.Object>

Constructor Summary
`SamePropertyValuesAs.PropertyMatcher(java.beans.PropertyDescriptor descriptor, java.lang.Object expectedObject)`

Method Summary
`void` | `describeTo(Description description)` Generates a description of the object.
`boolean` | `matches(java.lang.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_, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SamePropertyValuesAs.PropertyMatcher

    public SamePropertyValuesAs.PropertyMatcher(java.beans.PropertyDescriptor descriptor,
                                                java.lang.Object expectedObject)

Method Detail

### matches

    public boolean matches(java.lang.Object actual,
                           Description mismatch)

  Specified by:
    `matches` in class `DiagnosingMatcher<java.lang.Object>`

### describeTo

    public void describeTo(Description description)

  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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD