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

v1.9.1 #28

Merged
merged 14 commits into from
Jul 17, 2024
Merged

v1.9.1 #28

merged 14 commits into from
Jul 17, 2024

Conversation

GillesTourreau
Copy link
Contributor

@GillesTourreau GillesTourreau commented Jul 9, 2024

New rules:

  • PosInfoMoq2009: Mock.Of<T> method must be used only to mock non-sealed class.
  • PosInfoMoq2010: Mock.Of<T> method must be used only with types that contains parameterless contructor.
  • PosInfoMoq2011: Constructor of the mocked class must be accessible.

Improvements/Fixes

@GillesTourreau GillesTourreau added this to the v1.9.0 milestone Jul 9, 2024
@GillesTourreau GillesTourreau changed the title v1.9.0 v1.9.1 Jul 11, 2024
@GillesTourreau GillesTourreau merged commit d639007 into main Jul 17, 2024
3 checks passed
@GillesTourreau GillesTourreau deleted the releases/v1.9.0 branch July 17, 2024 14:10
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.

Check the MockBehavior with the static method Mock.Of<T>() syntax.
1 participant