Replace Mockito 1.x anyString()/any() with nullable(Class)
MSALSince Mockito 2.10 anyString() and any(Class) no longer match null values. Use nullable(Class) instead in modules that still depend on mockito-all.
org. openrewrite. java. testing. mockito. AnyToNullablemod run . --recipe= org. openrewrite. java. testing. mockito. AnyToNullableInstall 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.