Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Enhancement for andAnswer / andStubAnswer #79
Migrated from: CodeHaus issue EASYMOCK-68
Sometimes it would be nice to use the signature or a dummy for executing a call. It would be nice if there where a andAnswer/andStubAnswer that takes an object implementing the mock-interface. The new methods might be called something like andDelegate/andStubDelegate. This way you don't need to cast the arguments and in the case of swing you can make use of adapters (MouseAdapter for example).