1) Try to use robolectric library instead of mocking static method
2) Replace the Whitebox.setPrimateMember method with the Apache commons reflect librart FieldUtils.setPrivateField method
If able to eliminate all dependencies then me can remove dependencies from build.gradle file
1) Try to use robolectric library instead of mocking static method 2) Replace the Whitebox.setPrimateMember method with the Apache commons reflect librart FieldUtils.setPrivateField method
If able to eliminate all dependencies then me can remove dependencies from build.gradle file