Closed GoogleCodeExporter closed 9 years ago
With this code you completely confused Mockito. You should *never* have a
reference on OngoingStubbing.
In order to work consecutive stubbing must be done consecutively, this how the
API works. In this snippet you are stubbing here and there.
You should first prepare the list of your returned result, in another method if
you see fit, then stub with an answer that will use these results.
Please ask first the mailing list in cases like this, so we can discuss a bit
before reporting an issue.
Original comment by brice.du...@gmail.com
on 2 Nov 2011 at 10:19
Original issue reported on code.google.com by
ido.ba...@gmail.com
on 2 Nov 2011 at 9:32