Mockito.verify()
Verify interactions with your mock
Mockito Verify is used to verify interaction of your mock inside your source (System Under Test) code.
We can check if method a is called with our mock, how many times it was called, or it was not called at all.
Mockito support 2 more verification methods,
Mockito.verifyNoMoreInteractions()
Mockito.verifyNoInteractions()
Last updated