TestNG Assertion to AssertJ

MSAL

Convert 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.TestNgAssertionToAssertJ
mod run . --recipe=org.openrewrite.java.testing.testng.TestNgAssertionToAssertJ

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