Migrate from Hamcrest Matcher to AssertJ

MSAL

Migrate from Hamcrest Matcher to AssertJ assertions.

org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ

Optional

The Hamcrest Matcher to migrate to AssertJ.

The AssertJ method to migrate to.

The type of the argument to the Hamcrest Matcher.

mod run . --recipe=org.openrewrite.java.testing.hamcrest.HamcrestMatcherToAssertJ

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