Comment on page
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.
// Verify interactions
// Verify, method should not be invoked even once
Mockito support 2 more verification methods,
// Verify, we did not miss any interaction in out test
// If will fail if there are any interaction
// and we did not wrote a verification assertion in our test
// Verify, our mock did not have any methods called in peice of code we were testing