Rewrite JMockit MockUp to Mockito statements

MSAL

Rewrites JMockit MockUp blocks that are statements in a method body to Mockito mockStatic and mockConstructionWithAnswer calls. @Mock methods that fake a private method can not be stubbed with Mockito and are dropped.

org.openrewrite.java.testing.jmockit.JMockitMockUpToMockito
mod run . --recipe=org.openrewrite.java.testing.jmockit.JMockitMockUpToMockito

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.