Class PowerMockRule

  • All Implemented Interfaces:
    org.junit.rules.MethodRule

    public class PowerMockRule
    extends java.lang.Object
    implements org.junit.rules.MethodRule
    • Field Detail

      • previousTargetClass

        private static java.lang.Class<?> previousTargetClass
    • Constructor Detail

      • PowerMockRule

        public PowerMockRule()
    • Method Detail

      • apply

        public org.junit.runners.model.Statement apply​(org.junit.runners.model.Statement base,
                                                       org.junit.runners.model.FrameworkMethod method,
                                                       java.lang.Object target)
        Specified by:
        apply in interface org.junit.rules.MethodRule
      • isNotRuleInitialized

        protected boolean isNotRuleInitialized​(java.lang.Object target)
      • init

        protected void init​(java.lang.Object target)