Class StringPrefixMatcher
java.lang.Object
mockit.internal.expectations.argumentMatching.StringPrefixMatcher
- All Implemented Interfaces:
ArgumentMatcher<mockit.internal.expectations.argumentMatching.SubstringMatcher>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Evaluates the matcher for the given argument.final boolean
same
(mockit.internal.expectations.argumentMatching.SubstringMatcher 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.
-
Constructor Details
-
StringPrefixMatcher
-
-
Method Details
-
matches
Description copied from interface:ArgumentMatcher
Evaluates the matcher for the given argument. -
writeMismatchPhrase
Description copied from interface:ArgumentMatcher
Writes 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:ArgumentMatcher
Indicates whether this matcher instance is functionally the same as another one of the same type.- Specified by:
same
in interfaceArgumentMatcher<mockit.internal.expectations.argumentMatching.SubstringMatcher>
-