Delete the MockMaker file that selects the inline mock maker

MSAL

Deletes mockito-extensions/org.mockito.plugins.MockMaker when it selects the inline mock maker through mock-maker-inline or InlineByteBuddyMockMaker. Like Mockito, only the first entry counts, skipping blank lines and # comments. The inline mock maker is the default as of Mockito 5, so the file is redundant. Files that select any other mock maker, or none, are left alone. This recipe does not check the Mockito version; use RemoveRedundantInlineMockMaker for that.

org.openrewrite.java.testing.mockito.DeleteInlineMockMakerFile
mod run . --recipe=org.openrewrite.java.testing.mockito.DeleteInlineMockMakerFile

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