public class ClassImposterizer extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClassImposterizer.ClassWithSuperclassToWorkAroundCglibBug |
Modifier and Type | Field and Description |
---|---|
static ClassImposterizer |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
canImposterise(Class<?> type) |
<T> T |
imposterise(MethodInterceptor interceptor,
Class<T> mockedType,
Class<?>... ancillaryTypes) |
public static final ClassImposterizer INSTANCE
public boolean canImposterise(Class<?> type)
public <T> T imposterise(MethodInterceptor interceptor, Class<T> mockedType, Class<?>... ancillaryTypes)
Copyright © 2016. All rights reserved.