|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hamcrest.BaseMatcher<T>
org.mockito.ArgumentMatcher
org.mockito.internal.matchers.Compare<T>
public class Compare<T>
| Constructor Summary | |
|---|---|
Compare(T wanted,
java.util.Comparator<T> comparator,
LogicalOperator result)
|
|
| Method Summary | |
|---|---|
void |
describeTo(org.hamcrest.Description description)
|
boolean |
matches(java.lang.Object actual)
Returns whether this matcher accepts the given argument. |
| 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 |
|---|
public Compare(T wanted,
java.util.Comparator<T> comparator,
LogicalOperator result)
| Method Detail |
|---|
public void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingdescribeTo in class ArgumentMatcherpublic boolean matches(java.lang.Object actual)
ArgumentMatcherThe method should never assert if the argument doesn't match. It should only return false.
matches in interface org.hamcrest.Matchermatches in class ArgumentMatcheractual - the argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||