-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
Description
What problem are you trying to solve?
MemberModifier method cannot be recognized and implemented in mockito.
Describe the solution you'd like
https://docs.openrewrite.org/recipes/java/testing/mockito/replacepowermockito
MemberModifier.field(WebLicenseManager.class, "coreLics").set(webLicenseManager, coreLics);
Have you considered any alternatives or workarounds?
Private method → package-level visibility + @VisibleForTesting
Additional context
Are you interested in contributing this feature to OpenRewrite?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog