-
-
Notifications
You must be signed in to change notification settings - Fork 798
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
NotImplementedException DynamicProxy2 error when CallBase = true while mocking interfaces #128
Comments
FWIW, I can confirm that I can reproduce this behaviour. |
I just encountered this as well, which made a lot of red show up. Following @ploeh's findings in AutoFixture/AutoFixture#303, I downgraded Moq to 4.2.1402.2112, and everything went green again. |
jwChung
added a commit
to jwChung/ArticleHarbor-WebAPIDemo
that referenced
this issue
Nov 4, 2014
rjasica
pushed a commit
to rjasica/moq4
that referenced
this issue
Nov 26, 2014
… while mocking interfaces devlooped#128
kzu
added a commit
that referenced
this issue
Feb 9, 2015
Fix: #128 NotImplementedException DynamicProxy2 error when CallBase = true
This seems to have been fixed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code:
Throws:
Moq v 4.2.1408.0717
The exception is not thrown when CallBase set to false which is strange because it should has no side effects when mocking interfaces.
It seems that this issue started to appear beginning version 4.2.1408.619.
The text was updated successfully, but these errors were encountered: