public class RunPrepareTestInstanceCallbacks extends 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(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(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).