public abstract class TestClassTransformer extends Object implements MockTransformer
| Modifier and Type | Class and Description |
|---|---|
static interface |
TestClassTransformer.ForTestClass |
| Modifier and Type | Method and Description |
|---|---|
static TestClassTransformer.ForTestClass |
forTestClass(Class<?> testClass) |
javassist.CtClass |
transform(javassist.CtClass clazz)
Transforms the
Class with name
fullyQualifiedName. |
public static TestClassTransformer.ForTestClass forTestClass(Class<?> testClass)
public javassist.CtClass transform(javassist.CtClass clazz)
throws Exception
MockTransformerClass with name
fullyQualifiedName.transform in interface MockTransformerCtClass representation of the mocked class.ExceptionCopyright © 2007–2015. All rights reserved.