Inline satisfies(..) of one assertion on its argument

MSAL

Replace assertThat(x).satisfies(arg -> assertThat(arg).isEqualTo(1)) with assertThat(x).isEqualTo(1), and the same for assumeThat(x).

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

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