Class StringContainmentMatcher
java.lang.Object
mockit.internal.expectations.argumentMatching.StringContainmentMatcher
- All Implemented Interfaces:
ArgumentMatcher<mockit.internal.expectations.argumentMatching.SubstringMatcher>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates the matcher for the given argument.final booleansame(mockit.internal.expectations.argumentMatching.SubstringMatcher 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
-
StringContainmentMatcher
-
-
Method Details
-
matches
Description copied from interface:ArgumentMatcherEvaluates the matcher for the given argument. -
writeMismatchPhrase
Description copied from interface:ArgumentMatcherWrites a phrase to be part of an error message describing an argument mismatch. -
same
public final boolean same(@NonNull mockit.internal.expectations.argumentMatching.SubstringMatcher other) Description copied from interface:ArgumentMatcherIndicates whether this matcher instance is functionally the same as another one of the same type.- Specified by:
samein interfaceArgumentMatcher<mockit.internal.expectations.argumentMatching.SubstringMatcher>
-