Package org.powermock.core.transformers
package org.powermock.core.transformers
-
ClassDescriptionClassWrapper<T>An interface represents an abstraction of the class to be able to pass class to different byte-code instrumentation frameworks.An implementation should wrap original instance.Interface that all mock transformers must implement.Interface represent chain of
MockTransformer
.An implementation of interface should create aMockTransformerChain
with full set of required transformers to enable all mocking features.If a transformer implements this interface thenMockClassLoaderBuilder
sets current test class during building a instance ofMockClassLoader
.TestClassTransformer<T,M> MockTransformer implementation that will make PowerMock test-class enhancements for four purposes...The enum provide information forMockTransformer
have PowerMock is started via Runner(FactoryObject), Rule or JavaAgent