This is an example of a JUnit test class featuring the use of Easymock mock classes. I develop using interfaces which lends to easier testing. Test methods are focused on a single test case and named correspondingly.