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

Prevent sealed class mocks #237

Merged
merged 3 commits into from
Sep 27, 2023

Conversation

Cwhite534
Copy link
Contributor

@Cwhite534 Cwhite534 commented Aug 30, 2023

  • Prevents sealed classes from being mocked with getMock
  • Added an instanceResolver for creating instances. Allows nested sealed classes to be instantiated when creating parent instance
  • New resolver is not added to the default resolver list.

@CLAassistant
Copy link

CLAassistant commented Aug 30, 2023

CLA assistant check
All committers have signed the CLA.

@Keboo Keboo enabled auto-merge (squash) September 27, 2023 04:51
@Keboo Keboo merged commit 5fe9df5 into moq:master Sep 27, 2023
2 of 3 checks passed
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.

3 participants