Finally, it’s done. I’ve released the first version of the ScalaEasyMock library (the naming is not very original, I have to admit).
ScalaEasyMock is a wrapper around the EasyMock library that focuses on mock controls and EasyMock Class Extension.
It provides a convenient, easy to use DSL for mock controls that makes heavy use of Scala manifests. Additionally, it contains helper classes that make it easy to create test objects with constructor arguments and partial mocks.
The library can be found on Google code, together with some documentation I’ve written: