I am new to Mockito. So I need to do this:
I have a method which is not expected to be triggered as part of my workflow. I know to verify if method runs, I can use
verify(updateRule,times(1)).test();
I tried
verify(updateRule,times(0)).test();
but this is not working. am I missing Anything?