Documentation for release 3.1 (2011-11-10)
© 2003-2010 OFFIS, Henri Tremblay.
The EasyMock Class Extension allows to generate Mock Objects for classes.
EasyMock Class Extension is now considered deprecated.
Class mocking can now and should be done directly using standard EasyMock. Documentation about class mocking is now integrated to EasyMock documentation.
The EasyMock Class Extension requires Java 5 or above, EasyMock 3.0.
When moving to EasyMock and EasyMock CE 3.0, your projects should still work as before (despite deprecation warnings). However, they will need to be recompiled first.
Moving from EasyMock CE to EasyMock 3.0 is straightforward. You need to remove the dependency to EasyMock CE and replace all imports to
org.easymock.classextension.*
by imports to
org.easymock.*
which basically means to remove .classextension
from everywhere in your code.
The EasyMock Class Extension is currently maintained by Henri Tremblay.
It was initially developed by Joel Shellman, Chad Woolley and Henri Tremblay on the files section of Yahoo!Groups.
Thanks to the people who gave feedback or provided patches, including Rodrigo Damazio, Bruno Fonseca, Ben Hutchison and numerous others.
New in version 3.1:
New in version 3.0: