Class AlwaysTrueMatcher
java.lang.Object
mockit.internal.expectations.argumentMatching.AlwaysTrueMatcher
- All Implemented Interfaces:
ArgumentMatcher<AlwaysTrueMatcher>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> static final ArgumentMatcher<?> -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the matcher for the given argument.booleansame(AlwaysTrueMatcher other) Indicates whether this matcher instance is functionally the same as another one of the same type.voidwriteMismatchPhrase(ArgumentMismatch argumentMismatch) Writes a phrase to be part of an error message describing an argument mismatch.
-
Field Details
-
ANY_STRING
-
ANY_BOOLEAN
-
ANY_CHAR
-
ANY_BYTE
-
ANY_SHORT
-
ANY_INT
-
ANY_FLOAT
-
ANY_LONG
-
ANY_DOUBLE
-
ANY_VALUE
-
-
Method Details
-
same
Description copied from interface:ArgumentMatcherIndicates whether this matcher instance is functionally the same as another one of the same type.- Specified by:
samein interfaceArgumentMatcher<AlwaysTrueMatcher>
-
matches
Description copied from interface:ArgumentMatcherEvaluates the matcher for the given argument.- Specified by:
matchesin interfaceArgumentMatcher<AlwaysTrueMatcher>
-
writeMismatchPhrase
Description copied from interface:ArgumentMatcherWrites a phrase to be part of an error message describing an argument mismatch.- Specified by:
writeMismatchPhrasein interfaceArgumentMatcher<AlwaysTrueMatcher>
-