-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature request: spying on concrete objects #77
Comments
👍 |
+1 |
This is available since 1.1-rc-4 and can be closed |
Hi guys @Vampire, @leonard84, @twicksell I know this is an ooooold ticket, but I just noticed that the implementation for Spies on concrete instances does not include the +Closure version of SpyImpl in SpecInternals.java. This means I cannot provide interactions to the Spy, which is usually the purpose of creating them. |
|
As there is a separate issue #1028 I'm closing this one. |
I would like to be able to create a Spy using a concrete object rather than a constructor and list of constructor arguments. (I need this in order to set up private fields via introspection.)
I know this is a weird use case, but I'm not the only one interested in this. Would it be possible for a feature like this to be added in the future?
The text was updated successfully, but these errors were encountered: