powermock
· PowerMock allows you to unit test code normally regarded as untestable.
For instance it is possible to mock static methods, remove static initializers, allow mocking without dependency
injection and more.
PowerMock works by bytecode manipulation.
PowerMock also contain some utilities that gives you easier access to an objects internal state.
PowerMock can be used to test otherwise untestable code and also to achieve a cleaner separation between test
and production code.
Download JD-GUI to open JAR file and explore Java source code file (.class .java)
Click menu "File → Open File..." or just drag-and-drop the JAR file in the JD-GUI window powermock-1.6.6.jar file.
Once you open a JAR file, all the java classes in the JAR file will be displayed.