Show usage of Mockito and PowerMock to solve the test cases on static methods in java