2 Minutes To Code (β Version)

Mockito - 2 minute tutorial

Requirements checklist : Artefacts needed to start using Mockito api

For using mockito, the only requirement is to have mockito-all-<version>.jar in the classpath.

Since, mocking is usually done for unit tests, you will usually also use a unit test api like JUnit, TestNG etc.

You can find a getting started article to JUnit 4.10 and an introduction to JUnit 3.10 in the JUnit section.