This is NOT a question about which is the best framework, etc.
I have never used a mocking framework and I\'m a bit puzzled by the idea. How does it know how to create t
EasyMock (http://easymock.org/) is the mocking library that I have used the most. (There are others: jMock, Mockito, etc.)
Most of these create an object at runtime, that you can control. The basic flow is: