Adopt @Container and add @Testcontainers

MSAL

Convert Testcontainers @Rule/@ClassRule to JUnit 5 @Container and add @Testcontainers.

org.openrewrite.java.testing.testcontainers.AddTestcontainersAnnotations
mod run . --recipe=org.openrewrite.java.testing.testcontainers.AddTestcontainersAnnotations

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