infinite / mockito-flex

0 stars 0 forks source link

Newfeature: timesRange like function additionally to times #8

Closed infinite closed 10 years ago

infinite commented 10 years ago

I have the problem that a certain method might be called in a different amount of times, but a least once. The "times()" method only allows a certain amount of times and doesn't suit this case. So I implemented a TimesRange class which suits my purpose. Perhaps its reasonable to put it to to the standard set.

infinite commented 10 years ago

From loomis on 2009-08-02 20:16:25+00:00

Thanks for the code. I'll add the following verifiers:

atLeast() notMoreThan() between()