easymock
Introduction to EasyMock 1. Introduction In the past, we’ve talked extensively about JMockit and Mockito. In this tutorial, we’ll give an introduction to another mocking tool – EasyMock. 2. Maven Dependencies Before we dive in, let’s add the following dependency to our pom.xml: <dependency> <groupId>org.easymock</groupId> <artifactId>easymock</artifactId> <version>3.5.1</version> <scope>test</scope> </dependency> The… Continue Reading easymock