jMock
jMock is a library for testing Java code using mock objects.
The jMock package:
* makes it quick and easy to define mock objects, so you don't break the rhythm of programming.
* lets you define flexible constraints over object interactions, reducing the brittleness of your tests.
* is easy to extend.
(追記) (追記ここまで)
License
BSD License