Technology knowledge has to be shared and made accessible for free. Join the movement.
Here's an example of mocking in Java using EasyMock: