public class RunPrepareTestInstanceCallbacks
extends org.junit.runners.model.Statement
RunPrepareTestInstanceCallbacks is a custom JUnit Statement which
 allows the Spring TestContext Framework to be plugged into the JUnit
 execution chain by calling prepareTestInstance() on the supplied TestContextManager.evaluate()| Constructor and Description | 
|---|
RunPrepareTestInstanceCallbacks(org.junit.runners.model.Statement next,
                               Object testInstance,
                               TestContextManager testContextManager)
Construct a new  
RunPrepareTestInstanceCallbacks statement. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
evaluate()
Invoke  
TestContextManager.prepareTestInstance(Object) and
 then evaluate the next Statement in the execution chain
 (typically an instance of RunAfterTestMethodCallbacks). | 
public RunPrepareTestInstanceCallbacks(org.junit.runners.model.Statement next,
                                       Object testInstance,
                                       TestContextManager testContextManager)
RunPrepareTestInstanceCallbacks statement.next - the next Statement in the execution chain; never nulltestInstance - the current test instance; never nulltestContextManager - the TestContextManager upon which to call
 prepareTestInstance(); never nullpublic void evaluate()
              throws Throwable
TestContextManager.prepareTestInstance(Object) and
 then evaluate the next Statement in the execution chain
 (typically an instance of RunAfterTestMethodCallbacks).evaluate in class org.junit.runners.model.StatementThrowable