Searched refs:lastMatchers (Results 1 – 4 of 4) sorted by relevance
24 List<LocalizedMatcher> lastMatchers = argumentMatcherStorage.pullLocalizedMatchers(); in bindMatchers() local25 validateMatchers(invocation, lastMatchers); in bindMatchers()28 for (LocalizedMatcher m : lastMatchers) { in bindMatchers()34 private void validateMatchers(Invocation invocation, List<LocalizedMatcher> lastMatchers) { in validateMatchers() argument35 if (!lastMatchers.isEmpty()) { in validateMatchers()36 int recordedMatchersSize = lastMatchers.size(); in validateMatchers()39 throw invalidUseOfMatchers(expectedMatchersSize, lastMatchers); in validateMatchers()
36 List<LocalizedMatcher> lastMatchers = resetStack(); in pullLocalizedMatchers() local37 return lastMatchers; in pullLocalizedMatchers()68 List<LocalizedMatcher> lastMatchers = resetStack(); in validateState() local69 throw misplacedArgumentMatcher(lastMatchers); in validateState()82 List<LocalizedMatcher> lastMatchers = resetStack(); in assertStateFor() local83 … throw incorrectUseOfAdditionalMatchers(additionalMatcherName, subMatchersCount, lastMatchers); in assertStateFor()92 ArrayList<LocalizedMatcher> lastMatchers = new ArrayList<LocalizedMatcher>(matcherStack); in resetStack() local94 return lastMatchers; in resetStack()
75 List<IArgumentMatcher> lastMatchers = LastControl.pullMatchers(); in invoke() local76 lastInvocation = new ExpectedInvocation(invocation, lastMatchers); in invoke()
506 public static MockitoException misplacedArgumentMatcher(List<LocalizedMatcher> lastMatchers) { in misplacedArgumentMatcher() argument509 locationsOf(lastMatchers), in misplacedArgumentMatcher()