Skip to content
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

Add LINQ to Mocks support for strict mocks #842

Merged
merged 5 commits into from
Jun 2, 2019

Conversation

stakx
Copy link
Contributor

@stakx stakx commented Jun 2, 2019

This closes #740.

stakx added 3 commits June 2, 2019 18:39
In brief, when creating strict mocks using any LINQ to Mocks method
(`Mock.Of`, `Mocks.Of`, `repository.Of`, `repository.OneOf`), it is
expected that accessing any property that does not appear in the query
specification expression should cause a `MockException`.
@stakx stakx added this to the 4.12.0 milestone Jun 2, 2019
@stakx stakx merged commit c5a2465 into devlooped:master Jun 2, 2019
@stakx stakx deleted the strict-linq-to-mocks branch June 2, 2019 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Linq to Mock for MockBehaviour.Strict
1 participant