|
||||||||||
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<java.lang.Object>
org.mockito.internal.matchers.Null
public class Null
Field Summary | |
---|---|
static Null |
NULL
|
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 |
Field Detail |
---|
public static final Null NULL
Method Detail |
---|
public boolean matches(java.lang.Object actual)
ArgumentMatcher
The method should never assert if the argument doesn't match. It should only return false.
matches
in interface org.hamcrest.Matcher<java.lang.Object>
matches
in class ArgumentMatcher<java.lang.Object>
actual
- the argument
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
describeTo
in class ArgumentMatcher<java.lang.Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |