We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With Moq v4.9.0, the following code:
var mock = new Mock<Action>(); mock.Setup(m => m()); mock.Verify(m => m(), Times.Once());
will throw the following exception:
Moq.MockException: Expected invocation on the mock once, but was 0 times: m => …
The call expression m => is incomplete. It should be m => m().
m =>
m => m()
The text was updated successfully, but these errors were encountered:
Verify
stakx
No branches or pull requests
With Moq v4.9.0, the following code:
will throw the following exception:
The call expression
m =>
is incomplete. It should bem => m()
.The text was updated successfully, but these errors were encountered: