divijvaidya opened a new pull request, #12677:
URL: https://github.com/apache/kafka/pull/12677

   1. Note that `@RunWith(MockitoJUnitRunner.StrictStubs.class)` ensures that 
all declared stubs are called, otherwise it throws an exception, hence there is 
no requirement to `verify` stubbed methods.
   2. Note that there is no need to stub the methods that return void, since 
they don't return anything! But we need to verify their invocation using 
`verify`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to