Brief info about class under Test.
The class will fetch secret, certificate and access token from KeyVault and login.mirosoftonline.com. Also using Corbertura as code coverage tool.
I am trying to write testcases (using Junit, Mockito) for the below classes, but unable to find correct way.
Some problems I found is as the above classes are marked as final, so unable to Mock. Also if I try to use PowerMock, Corbertura doesnt detect the code covered by it.
Please suggest any alternative way of testing so that my code coverage also gets calculated using corbertura.