Class RunPrepareTestInstanceCallbacks
java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.RunPrepareTestInstanceCallbacks
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.- Since:
- 4.2
- Author:
- Sam Brannen
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionRunPrepareTestInstanceCallbacks(Statement next, Object testInstance, TestContextManager testContextManager) Construct a newRunPrepareTestInstanceCallbacksstatement.
- 
Method SummaryModifier and TypeMethodDescriptionvoidevaluate()InvokeTestContextManager.prepareTestInstance(Object)and then evaluate the nextStatementin the execution chain (typically an instance ofRunAfterTestMethodCallbacks).
- 
Constructor Details- 
RunPrepareTestInstanceCallbackspublic RunPrepareTestInstanceCallbacks(Statement next, Object testInstance, TestContextManager testContextManager) Construct a newRunPrepareTestInstanceCallbacksstatement.- Parameters:
- next- the next- Statementin the execution chain; never- null
- testInstance- the current test instance; never- null
- testContextManager- the- TestContextManagerupon which to call- prepareTestInstance(); never- null
 
 
- 
- 
Method Details- 
evaluateInvokeTestContextManager.prepareTestInstance(Object)and then evaluate the nextStatementin the execution chain (typically an instance ofRunAfterTestMethodCallbacks).
 
-