Description
Our use of static methods for internal APIs such as the RestClient class and Plugins::compareAndSwapLoaders makes testing difficult, especially with the in-progress migration from EasyMock/PowerMock to Mockito.
We should remove these static methods and replace them with non-static methods that can be more easily mocked.
Attachments
Issue Links
- causes
-
KAFKA-14816 Connect loading SSL configs when contacting non-HTTPS URLs
- Resolved
- links to