MockLib

Mocklib is a library that simulates entire apis(as well as the usual single interfaces). It is designed for module unit testing rather than single class testing. Thus when a module is refactored, tests do not need to be changed as much. More help with mocklib can be found in the following article... http://www.devx.com/Java/Article/34990

Project is located on sourceforge at http://mocklib.sourceforge.net/mocklib3/index.html