You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to get object which is return from a method with object return type. I believe SetMethodReturnValue cannot be used for such cases. Could you provide some example for mocking a method with a object return type, if it is available in existing code?
The text was updated successfully, but these errors were encountered:
Thanks for the report. I have had a quick look at the code, and I can't see a way to do it at present. The code assumes that the return values are all primitive data-types and can be converted from a string.
I'll flag this as a bug, and something that needs to be enhanced.
Right now, my day job prevents me from working too much on the library, but if you feel like you want to give it a go, then I'd welcome any pull request :-)
Is it possible to get object which is return from a method with object return type. I believe SetMethodReturnValue cannot be used for such cases. Could you provide some example for mocking a method with a object return type, if it is available in existing code?
The text was updated successfully, but these errors were encountered: