Collapse consecutive assertThat statements

MSAL

Collapse consecutive assertThat statements into single assertThat chained statement. This recipe ignores assertThat statements that have method invocation as parameter.

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

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