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

Make MockUp#getMockInstance() return new instance for abstract class #22

Closed
rliesenfeld opened this issue Jul 30, 2014 · 2 comments
Closed
Assignees
Labels

Comments

@rliesenfeld
Copy link
Member

@rliesenfeld rliesenfeld commented Jul 30, 2014

No description provided.

@rliesenfeld rliesenfeld self-assigned this Jul 30, 2014
@cm-rudolph

This comment has been minimized.

Copy link

@cm-rudolph cm-rudolph commented Aug 3, 2014

It might also be nice to return an instance for a concrete class. See my question on stackoverflow for a potential use case.

@rliesenfeld

This comment has been minimized.

Copy link
Member Author

@rliesenfeld rliesenfeld commented Aug 3, 2014

For a concrete class, a new instance already is returned (since JMockit 1.10).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.