java-jmock-junit4 2.8.2 Mock object library for test-driven development

JMock is a library that supports test-driven development of Java code with mock objects. Mock objects help you design and test the interactions between the objects in your programs.

The jMock library

  • makes it quick and easy to define mock objects

  • lets you precisely specify the interactions between your objects, reducing the brittleness of your tests

  • plugs into your favourite test framework

  • is easy to extend.