Mockito

Published: Sunday, 5 April 2015

Mockito - a mock testing framework

Use this together with JUnit.

The Mockito site has a link to the documentation