Mock static methods from multiple class using PowerMock
java, junit4, powermock
Solution
Just do `@PrepareForTest({Class1.class,Class2.class})` for multiple classes.
Problem
I know how to mock static methods from a class using PowerMock. But I want to mock static methods from multiple classes in a test class using JUnit and PowerMock. Can anyone tell me is it possible to do this and how to do it?