times(0)
, see Mockito.times(int)
To avoid compilation errors upon upgrade the method is deprecated and it throws a "friendly reminder" exception.
In a future release we will remove timeout(x).atMost(y) and timeout(x).never() from the API.
Do you want to find out more? See issue 235
MethodInvocationReport
with a return value.MethodInvocationReport
with a return value.null
argument.null
argument, not necessary of the given class.Mockito, MIT License