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
Mockito#mockStatic(Class<?>) skips DoNotMockEnforcer #3219
Comments
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 2, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
8 tasks
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 19, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 19, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 22, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 22, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
andrebrait
added a commit
to andrebrait/mockito
that referenced
this issue
Jan 22, 2024
Fixes mockito#3219 Fix mockStatic bypassing DoNotMockEnforcer Add (optional) method on DoNotMockEnforcer for static mocks
TimvdLippe
pushed a commit
that referenced
this issue
Jan 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is pretty straightforward and being followed up by a PR, but essentially, any calls to
mockStatic
skip theDoNotMockEnforcer
entirely.The text was updated successfully, but these errors were encountered: