Pages

Sunday, August 31, 2008

EasyMock example

We're starting to look at mock object frameworks at my current consulting gig, so I thought I'd put together a small example of how to use EasyMock.


http://sites.google.com/a/pintailconsultingllc.com/java/easymock-examples


Pretty simple but gets the point across on how to get started with EasyMock. Mockito examples are forthcoming.

4 comments:

  1. Are you going to be doing any examples of JMock or JMockit?

    ReplyDelete
  2. Sure, if there is interest in it. I'm using EasyMock at my consulting gig, so that's why I started out with the EasyMock example. Mockito was interesting to me, so I converted the EasyMock version over to Mockito for giggles.

    ReplyDelete
  3. Thanks for sharing!

    abhiram astrology center. Best Astrologer In brampton

    ReplyDelete