On 10/02/2012 03:33, Martin Heidegger wrote:
and you test it with

   verify().that(mock.a());

then it will pass, even though b was called before that.


Of course this is the wrong way around:

verify().that(mock.b());

will be true even though a() was called before that.

Reply via email to