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 Summary

    Modifier and Type
    Method
    Description
    void
    setTestClass(Class<?> testClass)
     
  • Method Details

    • setTestClass

      void setTestClass(Class<?> testClass)