Mockito

Published: Sunday, 5 April 2015
mockito junit

Mockito - a mock testing framework

Use this together with JUnit.

The Mockito site has a link to the documentation