A quick review of the EasyMock mocking (testing) framework and how it can make your testing more productive and less tightly coupled by Matthew McCullough.
7. Expecting A Lot
• Expect method is called on mock
• Expect sequence of method calls on mock
(call createStrictMock())
• Expect parameters to methods calls on
mock