public class AnnotationBasedTestInjectorManager
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationBasedTestInjectorManager(java.lang.Class<?> classUnderTest) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupInjector() |
void |
cleanUpMethodLevelConfig() |
void |
cleanupMocks() |
protected com.netflix.governator.LifecycleInjector |
createInjector(java.util.List<com.google.inject.Module> modules,
java.util.List<com.google.inject.Module> overrides) |
void |
prepareConfigForTestClass(java.lang.Class<?> testClass,
java.lang.reflect.Method testMethod) |
void |
prepareTestFixture(java.lang.Object testFixture)
Injects dependencies into the provided test object.
|
public AnnotationBasedTestInjectorManager(java.lang.Class<?> classUnderTest)
public void prepareTestFixture(java.lang.Object testFixture)
public void cleanupMocks()
public void cleanupInjector()
protected com.netflix.governator.LifecycleInjector createInjector(java.util.List<com.google.inject.Module> modules,
java.util.List<com.google.inject.Module> overrides)
public void prepareConfigForTestClass(java.lang.Class<?> testClass,
java.lang.reflect.Method testMethod)
public void cleanUpMethodLevelConfig()