Migrate from Hamcrest instanceOf matcher to JUnit 5
MSALMigrate from Hamcrest instanceOf and isA matcher to JUnit5 assertInstanceOf assertion.
org. openrewrite. java. testing. hamcrest. HamcrestInstanceOfToJUnit5mod run . --recipe= org. openrewrite. java. testing. hamcrest. HamcrestInstanceOfToJUnit5Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.