Class ArgumentMatchingTool
- java.lang.Object
-
- org.mockito.internal.verification.argumentmatching.ArgumentMatchingTool
-
public class ArgumentMatchingTool extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateArgumentMatchingTool()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer[]getSuspiciouslyNotMatchingArgsIndexes(java.util.List<ArgumentMatcher> matchers, java.lang.Object[] arguments)Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different.private static booleansafelyMatches(ArgumentMatcher m, java.lang.Object arg)private static booleantoStringEquals(ArgumentMatcher m, java.lang.Object arg)
-
-
-
Method Detail
-
getSuspiciouslyNotMatchingArgsIndexes
public static java.lang.Integer[] getSuspiciouslyNotMatchingArgsIndexes(java.util.List<ArgumentMatcher> matchers, java.lang.Object[] arguments)
Suspiciously not matching arguments are those that don't match, the toString() representation is the same but types are different.
-
safelyMatches
private static boolean safelyMatches(ArgumentMatcher m, java.lang.Object arg)
-
toStringEquals
private static boolean toStringEquals(ArgumentMatcher m, java.lang.Object arg)
-
-