I want to verify if a method is called at least once through mockito verification. I used that verification but it still fails. It turns out using the appropriate VerificationMode like this:
import static org.mockito.Mockito.atLeast;
import static org.mockito.Mockito.times;
import static org.mockito.Mockito.verify;
verify(mockObject, atLeast(2)).someMethod("was called at least twice");
verify(mockObject, times(3)).someMethod("was called exactly three times");