org.powermock.core.transformers
Interface MockTransformer
- All Known Implementing Classes:
- MainMockTransformer
public interface MockTransformer
Interface that all mock transformers must implement. The purpose of a mock
transformer is to create a modified version of a Class so that
it is mock enabled.
- Author:
- Johan Haleby
|
Method Summary |
javassist.CtClass |
transform(javassist.CtClass clazz)
Transforms the Class with name
fullyQualifiedName. |
transform
javassist.CtClass transform(javassist.CtClass clazz)
throws java.lang.Exception
- Transforms the
Class with name
fullyQualifiedName.
- Parameters:
fullyQualifiedName - The fully qualified name of the Class to
transform into a mock enabled class.
- Returns:
- A
CtClass representation of the mocked class.
- Throws:
java.lang.Exception
Copyright © 2007-2012. All Rights Reserved.