Class PowerMockRule
- java.lang.Object
-
- org.powermock.modules.junit4.rule.PowerMockRule
-
- All Implemented Interfaces:
org.junit.rules.MethodRule
public class PowerMockRule extends Object implements org.junit.rules.MethodRule
-
-
Constructor Summary
Constructors Constructor Description PowerMockRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.junit.runners.model.Statement
apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
protected void
init(Object target)
protected boolean
isNotRuleInitialized(Object target)
-
-
-
Method Detail
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runners.model.FrameworkMethod method, Object target)
- Specified by:
apply
in interfaceorg.junit.rules.MethodRule
-
isNotRuleInitialized
protected boolean isNotRuleInitialized(Object target)
-
init
protected void init(Object target)
-
-