verifyZeroInteractions is an alias for Mockito.verifyZeroInteractions which has the following comments
This method has the same behavior as verifyNoMoreInteractions
@deprecated Since 3.x.x. Please migrate your code to verifyNoInteractions
I've seen several people assuming that verifyZeroInteractions would behave like what Mockito.verifyNoInteractions does, not being aware it's essentially the same as verifyNoMoreInteractions.
At the moment, when using mockito-kotlin, as a programmer I don't see that the underlying mockito method for verifyZeroInteractions is deprecated and I don't have an alias for verifyNoInteractions.
So it would be nice to
mark verifyZeroInteractions as deprecated in mockito-kotlin, too
introduce an alias for verifyNoInteractions
Edit: this would require to update Mockito Core to 3.x
verifyZeroInteractions
is an alias forMockito.verifyZeroInteractions
which has the following commentsverifyNoMoreInteractions
verifyNoInteractions
I've seen several people assuming that
verifyZeroInteractions
would behave like whatMockito.verifyNoInteractions
does, not being aware it's essentially the same asverifyNoMoreInteractions
.At the moment, when using mockito-kotlin, as a programmer I don't see that the underlying mockito method for
verifyZeroInteractions
is deprecated and I don't have an alias forverifyNoInteractions
.So it would be nice to
verifyZeroInteractions
as deprecated in mockito-kotlin, tooverifyNoInteractions
Edit: this would require to update Mockito Core to 3.x