Searched refs:maxNumberOfInvocations (Results 1 – 7 of 7) sorted by relevance
23 private final int maxNumberOfInvocations; field in AtMost25 public AtMost(int maxNumberOfInvocations) { in AtMost() argument26 if (maxNumberOfInvocations < 0) { in AtMost()29 this.maxNumberOfInvocations = maxNumberOfInvocations; in AtMost()38 if (foundSize > maxNumberOfInvocations) { in verify()39 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
2511 public static VerificationMode atMost(int maxNumberOfInvocations) { in atMost() argument2512 return VerificationModeFactory.atMost(maxNumberOfInvocations); in atMost()
502 public static MockitoAssertionError wantedAtMostX(int maxNumberOfInvocations, int foundSize) { in wantedAtMostX() argument503 …return new MockitoAssertionError(join("Wanted at most " + pluralize(maxNumberOfInvocations) + " bu… in wantedAtMostX()