Interface TestClassAwareTransformer


  • public interface TestClassAwareTransformer
    If a transformer implements this interface then MockClassLoaderBuilder sets current test class during building a instance of MockClassLoader. IMPORTANT This may take affect only with running PowerMock with class loader mode, a testClass will not be set in case if PowerMock used as JavaAgent.
    • Method Detail

      • setTestClass

        void setTestClass​(java.lang.Class<?> testClass)