Class SamenessMatcher
java.lang.Object
mockit.internal.expectations.argumentMatching.SamenessMatcher
- All Implemented Interfaces:
ArgumentMatcher<SamenessMatcher>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the matcher for the given argument.booleansame(SamenessMatcher 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.
-
Constructor Details
-
SamenessMatcher
-
-
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<SamenessMatcher>
-
matches
Description copied from interface:ArgumentMatcherEvaluates the matcher for the given argument.- Specified by:
matchesin interfaceArgumentMatcher<SamenessMatcher>
-
writeMismatchPhrase
Description copied from interface:ArgumentMatcherWrites a phrase to be part of an error message describing an argument mismatch.- Specified by:
writeMismatchPhrasein interfaceArgumentMatcher<SamenessMatcher>
-