Migrate the two-argument InvocationInterceptor.interceptDynamicTest

MSAL

JUnit 6 removed the deprecated InvocationInterceptor#interceptDynamicTest(Invocation, ExtensionContext). Java overrides gain a DynamicTestInvocationContext parameter, so they keep their body and override the remaining three-argument overload. Overrides in classes that already override the three-argument overload, and non-Java overrides, are removed.

org.openrewrite.java.testing.junit6.RemoveInterceptDynamicTest
mod run . --recipe=org.openrewrite.java.testing.junit6.RemoveInterceptDynamicTest

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