jMock is a library for testing Java code using mock objects.

See:
          Description

User API
org.jmock  
org.jmock.builder  

 

Extension API
org.jmock.core  
org.jmock.core.constraint  
org.jmock.core.matcher  
org.jmock.core.stub  
org.jmock.util  

 

Optional Extensions
org.jmock.cglib  

 

Legacy API
org.jmock.expectation  

 

Other Packages
test.jmock  
test.jmock.builder  
test.jmock.builder.testsupport  
test.jmock.cglib  
test.jmock.core  
test.jmock.core.constraint  
test.jmock.core.matcher  
test.jmock.core.stub  
test.jmock.core.testsupport  
test.jmock.expectation  
test.jmock.util  

 

jMock is a library for testing Java code using mock objects. Mock objects help you design and test the interactions between the objects in your programs.

The jMock package:

New releases and more documentation can be found at the jMock website (www.jmock.org).