Replace the PowerMock EasyMock API with Mockito
MSALReplaces mock creation, replay and verification through the PowerMock EasyMock API (PowerMock.createMock(), replay() and verify()) with their EasyMock counterparts, which EasyMockCodeToMockito then migrates along with the expectations the test records on those mocks.
org. openrewrite. java. testing. mockito. PowerMockEasyMockToMockitomod run . --recipe= org. openrewrite. java. testing. mockito. PowerMockEasyMockToMockitoInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.