JUnit assertInstanceOf to AssertJ

MSAL

Convert JUnit-style assertInstanceOf() to AssertJ's assertThat().isInstanceOf().

org.openrewrite.java.testing.assertj.JUnitAssertInstanceOfToAssertThat
mod run . --recipe=org.openrewrite.java.testing.assertj.JUnitAssertInstanceOfToAssertThat

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