Searched refs:maxNumberOfInvocations (Results 1 – 7 of 7) sorted by relevance
22 private final int maxNumberOfInvocations; field in AtMost24 public AtMost(int maxNumberOfInvocations) { in AtMost() argument25 if (maxNumberOfInvocations < 0) { in AtMost()28 this.maxNumberOfInvocations = maxNumberOfInvocations; in AtMost()37 if (foundSize > maxNumberOfInvocations) { in verify()38 throw wantedAtMostX(maxNumberOfInvocations, foundSize); in verify()
36 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() argument37 return new AtMost(maxNumberOfInvocations); in atMost()
40 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() argument41 … return copySelfWithNewVerificationMode(VerificationModeFactory.atMost(maxNumberOfInvocations)); in atMost()
56 VerificationMode atMost(int maxNumberOfInvocations); in atMost() argument
55 public VerificationMode atMost(int maxNumberOfInvocations) { in atMost() argument
2741 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() argument2742 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
521 …public static MoreThanAllowedActualInvocations wantedAtMostX(int maxNumberOfInvocations, int found… in wantedAtMostX() argument522 …eThanAllowedActualInvocations(join("Wanted at most " + pluralize(maxNumberOfInvocations) + " but w… in wantedAtMostX()