79390287

Date: 2025-01-27 09:47:49
Score: 1
Natty:
Report link

are the same thing, the first is for testing a precise number of calls, the second, verify(mockObj).foo();, actually does this:

public static <T> T verify(T mock) {
return MOCKITO_CORE.verify(mock, times(1));}

So it only changes for the readability of the code.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Denis Salviato