Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clone this wiki locally
Using PowerMock with EasyMock
EasyMock provides MockObjects for interfaces by generating them on the fly using Java's Dynamic Proxy mechanism.
PowerMock extends EasyMock with static mocking and setting expectations on constructors.
|3.3||Supported in 1.6.0 if you depend on cglib-nodep 2.2.2|
|3.0 - 3.2||1.3.9 - 1.6.0|
|2.5.x||1.3.7 & 1.3.8|
|2.4.x or older||1.3.6|