mockito Archive

Mockito in a Modular World

Amongst the Mocking Frameworks for Java, Mockito is probably the most popular. And, for good reason: the Mockito development team has combined kick-ass features with a great programming model. Especially for clean coders who practice test driven

Stubbing Behavior in Java Unit Tests with Mockito

The tutorial is about creating mock objects and stubbing behavior which are the absolute basics of mocking.