TestNG Assertion to AssertJ
MSALConvert TestNG-style hard assertions on org.testng.asserts.Assertion instances to static AssertJ assertThat(...), removing the now-unused local Assertion instance.
org. openrewrite. java. testing. testng. TestNgAssertionToAssertJmod run . --recipe= org. openrewrite. java. testing. testng. TestNgAssertionToAssertJInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.