Cast a null actual value of a Hamcrest assertion to Object
MSALCast the null that Hamcrest's assertThat(null, matcher) asserts on to Object, so that the AssertJ assertion it is migrated to resolves to one overload of assertThat.
org. openrewrite. java. testing. hamcrest. CastNullActualToObjectmod run . --recipe= org. openrewrite. java. testing. hamcrest. CastNullActualToObjectInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.