What you need for this book

In order to run the code presented in this book, you will need Java Development Kit 1.6 or newer, Mockito Version 1.9.5 appended to your classpath, and in the majority of the presented tests, AssertJ Version 1.6.0. The GitHub repository that contains the code has a configuration ready for use with Gradle and Maven, so you need either of these installed on your machine to run the tests.

Get Mockito Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.