Open basil opened 1 year ago
Another breaking Mockito change was org.mockito.Mockito.verifyZeroInteractions
to mockito.Mockito.verifyNoMoreInteractions
.
Or maybe this was Mockito 3 to Mockito 4? I can't quite recall.
Good news for this one, we should be able to leverage the already-existing Mockito migration recipes.
In Mockito 2
org.mockito.Matchers
was deprecated in favor oforg.mockito.ArgumentMatchers
, and in Mockito 3org.mockito.Matchers
was deleted. Old plugins will still be relying onorg.mockito.Matchers
and thus will need to be updated to useorg.mockito.ArgumentMatchers
instead.