incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Heidegger ...@leichtgewicht.at>
Subject Re: [RT] Recommendation Unit-Test System?
Date Thu, 09 Feb 2012 18:35:46 GMT
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.


Mime
View raw message