Summary
As a developer working on Hedera Exchange Rate Tool , I need to move away from using JMockit as it has issues with Junit5.
So, im going to move all the unit test mocking to use Mockito library instead.
Possible resolution
We first used JMockit to mock static methods and as Mockito doesn't support mocking static methods, a minor refactoring of the code is required to not use statics.
Summary As a developer working on Hedera Exchange Rate Tool , I need to move away from using JMockit as it has issues with Junit5. So, im going to move all the unit test mocking to use Mockito library instead.
Possible resolution We first used JMockit to mock static methods and as Mockito doesn't support mocking static methods, a minor refactoring of the code is required to not use statics.