## EasyMock Class Extension 3.1 Readme

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.

## Requirements

The EasyMock Class Extension requires Java 5 or above, EasyMock 3.0.

## Usage

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.

### Migration

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.

## Development

### Authors

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.

### Release Notes

New in version 3.1:

- No real changes. Just following EasyMock code versionning and still deprecated

New in version 3.0:

- Merge class extension in standard EasyMock
- Deprecate the class extension