|
||||||||||
| 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.Not
public class Not
| Constructor Summary | |
|---|---|
Not(org.hamcrest.Matcher first)
|
|
| 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 Not(org.hamcrest.Matcher first)
| Method Detail |
|---|
public 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
public void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingdescribeTo in class ArgumentMatcher
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||