Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement for andAnswer / andStubAnswer #79

henri-tremblay opened this issue Jun 3, 2015 · 0 comments

Enhancement for andAnswer / andStubAnswer #79

henri-tremblay opened this issue Jun 3, 2015 · 0 comments


Copy link

henri-tremblay commented Jun 3, 2015

Migrated from: CodeHaus issue EASYMOCK-68
Original reporter: Henri Tremblay

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant