Class NumberOfInvocationsChecker
java.lang.Object
org.mockito.internal.verification.checkers.NumberOfInvocationsChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) static void
checkNumberOfInvocations
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) static void
checkNumberOfInvocationsNonGreedy
(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)
-
Constructor Details
-
NumberOfInvocationsChecker
private NumberOfInvocationsChecker()
-
-
Method Details
-
checkNumberOfInvocations
public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount) -
checkNumberOfInvocations
public static void checkNumberOfInvocations(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context) -
checkNumberOfInvocationsNonGreedy
public static void checkNumberOfInvocationsNonGreedy(List<Invocation> invocations, MatchableInvocation wanted, int wantedCount, InOrderContext context)
-