Replace Mockito 1.x anyString() with nullable(String.class)
MSALSince Mockito 2.10 anyString() no longer matches null values. Use nullable(Class) instead.
org. openrewrite. java. testing. mockito. AnyStringToNullablemod run . --recipe= org. openrewrite. java. testing. mockito. AnyStringToNullableInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.