For the complete documentation index, see llms.txt. This page is also available as Markdown.

PowerMockRunner

You must annotate each class you test with PowerMockRunner

@RunWith(PowerMockRunner.class)
public class ClassToTest {
}

Last updated