-
-
Notifications
You must be signed in to change notification settings - Fork 811
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
Internal interception on a mock changes the DefaultValue property #409
Comments
vladonemo
added a commit
to vladonemo/moq4
that referenced
this issue
Jul 10, 2017
…ions in the FluentMockContext to restore the DefaultValue of mocks back to the original value.
vladonemo
added a commit
to vladonemo/moq4
that referenced
this issue
Jul 11, 2017
vladonemo
added a commit
to vladonemo/moq4
that referenced
this issue
Jul 11, 2017
Merged
Your fix has been merged. Thank you for correcting this! :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Let's consider this use case:
The SetupSet changes the DefaultValue of the mockBar to DefaultValue.Mock.
I'm submitting a PR shortly.
The text was updated successfully, but these errors were encountered: