Class NonNullityMatcher
java.lang.Object
mockit.internal.expectations.argumentMatching.NonNullityMatcher
- All Implemented Interfaces:
ArgumentMatcher<NonNullityMatcher>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
Evaluates the matcher for the given argument.boolean
same
(NonNullityMatcher other) Indicates whether this matcher instance is functionally the same as another one of the same type.void
writeMismatchPhrase
(ArgumentMismatch argumentMismatch) Writes a phrase to be part of an error message describing an argument mismatch.
-
Field Details
-
INSTANCE
-
-
Method Details
-
same
Description copied from interface:ArgumentMatcher
Indicates whether this matcher instance is functionally the same as another one of the same type.- Specified by:
same
in interfaceArgumentMatcher<NonNullityMatcher>
-
matches
Description copied from interface:ArgumentMatcher
Evaluates the matcher for the given argument.- Specified by:
matches
in interfaceArgumentMatcher<NonNullityMatcher>
-
writeMismatchPhrase
Description copied from interface:ArgumentMatcher
Writes a phrase to be part of an error message describing an argument mismatch.- Specified by:
writeMismatchPhrase
in interfaceArgumentMatcher<NonNullityMatcher>
-