Migrate AssertionsForClassTypes and AssertionsForInterfaceTypes to Assertions
MSALAssertJ deprecated AssertionsForClassTypes and AssertionsForInterfaceTypes in favor of the unified Assertions entry point. This recipe retargets their static methods to Assertions, using assertThatObject where a plain assertThat would otherwise re-bind to a more specific overload and stop compiling (see https://github.com/openrewrite/rewrite-testing-frameworks/issues/664).
org. openrewrite. java. testing. assertj. MigrateAssertionsForClassAndInterfaceTypesmod run . --recipe= org. openrewrite. java. testing. assertj. MigrateAssertionsForClassAndInterfaceTypesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.