Migrate from JUnit 4 @FixedMethodOrder to JUnit 5 @TestMethodOrder

MSAL

JUnit optionally allows test method execution order to be specified. This replaces JUnit 4 test execution ordering annotations with JUnit 5 replacements.

org.openrewrite.java.testing.junit5.UseTestMethodOrder
mod run . --recipe=org.openrewrite.java.testing.junit5.UseTestMethodOrder

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