cadonna commented on PR #12322: URL: https://github.com/apache/kafka/pull/12322#issuecomment-1162770981
Good call! The mockito docs say: > When using the inline mock maker, it is possible to mock static method invocations within the current thread and a user-defined scope. This way, Mockito assures that concurrently and sequentially running tests do not interfere. Additionally, I put the static mock into try-with-resource statements to limit the scope of the mock. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org