org.hamcrest.beans
Class SamePropertyValuesAs<T>
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<T>
org.hamcrest.beans.SamePropertyValuesAs<T>
- All Implemented Interfaces:
- org.hamcrest.Matcher<T>, org.hamcrest.SelfDescribing
public class SamePropertyValuesAs<T>
- extends org.hamcrest.TypeSafeDiagnosingMatcher<T>
| Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
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 |
SamePropertyValuesAs
public SamePropertyValuesAs(T expectedBean)
matchesSafely
public boolean matchesSafely(T item,
org.hamcrest.Description mismatchDescription)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeDiagnosingMatcher<T>
describeTo
public void describeTo(org.hamcrest.Description description)
samePropertyValuesAs
public static <T> org.hamcrest.Matcher<T> samePropertyValuesAs(T expectedBean)
Copyright © 2010. All Rights Reserved.