C0urante commented on PR #12295: URL: https://github.com/apache/kafka/pull/12295#issuecomment-1197412312
@dstelljes sorry for all the headaches here, hoping things will be easier once we switch over to Mockito. In the meantime, if you're up for it, one workaround is we do away with static methods for the `RestClient` class altogether (or at least all of its public methods) and replace them with instance methods. Then there should be no need for static mocking or preparing classes for tests at all, and it's a bit cleaner anyways. -- 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