Class CaptureMatcher<T>
java.lang.Object
mockit.internal.expectations.argumentMatching.CaptureMatcher<T>
- All Implemented Interfaces:
ArgumentMatcher<CaptureMatcher<T>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the matcher for the given argument.booleansame(CaptureMatcher<T> other) Indicates whether this matcher instance is functionally the same as another one of the same type.voidsetExpectedType(Class<?> expectedType) voidwriteMismatchPhrase(ArgumentMismatch argumentMismatch) Writes a phrase to be part of an error message describing an argument mismatch.
-
Constructor Details
-
CaptureMatcher
-
-
Method Details
-
setExpectedType
-
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<T>
-
matches
Description copied from interface:ArgumentMatcherEvaluates the matcher for the given argument.- Specified by:
matchesin interfaceArgumentMatcher<T>
-
writeMismatchPhrase
Description copied from interface:ArgumentMatcherWrites a phrase to be part of an error message describing an argument mismatch.- Specified by:
writeMismatchPhrasein interfaceArgumentMatcher<T>
-