On Fri, Aug 22, 2008 at 11:00 AM, Adam Winer <[EMAIL PROTECTED]> wrote:
> FYI - looking at the current EasyMockTestCase - typically an easier
> code pattern than:
>
>      EasyMock.verify(mocks.toArray());
>
> ... is to create a single IMocksControl, either strict or not, create
> all mocks off that, and just call replay()/verify() on the control.
> This also has the advantage of (if you choose a strict control)
> letting you verify order among all the mocks, not just within in each
> mock.

Would this be done in EasyMockTestCase, or in subclasses?

Reply via email to