Link Details

Link 278655 thumbnail
User 185351 avatar

By jsugrue
via java.dzone.com
Published: Nov 03 2009 / 12:40

Mockito expands its impressive feature set with release 1.8. I was once a happy EasyMock user. If asked, I think I would have even questioned the need for a new mocking framework – EasyMock did it all, didn’t it? But after using Mockito for a short while I was impressed by its efficiency and ease of use.
  • 34
  • 0
  • 2183
  • 852

Comments

Add your comment
User 388907 avatar

MCII replied ago:

1 votes Vote down Vote up Reply


given(seller.askForBread()).willReturn(new Bread());


I don't like it.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.