The jMock Cookbook How to... Get Started1 Create Mock Objects, States & Sequences with Less Boilerplate2 Define Expectations3 Return Values from Mocked Methods4 Throw Exceptions from Mocked Methods5 Match Parameter Values6 Precisely Specify Expected Parameter Values7 Expect Methods More (or Less) than Once8 Expect a Sequence of Invocations9 Expect an Invocation Between Two Other Invocations10 Igno