Class RunBeforeTestMethodCallbacks
java.lang.Object
org.junit.runners.model.Statement
org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks
RunBeforeTestMethodCallbacks is a custom JUnit Statement which allows
 the Spring TestContext Framework to be plugged into the JUnit execution chain
 by calling beforeTestMethod() on the supplied TestContextManager.- Since:
 - 3.0
 - Author:
 - Sam Brannen
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionRunBeforeTestMethodCallbacks(Statement next, Object testInstance, Method testMethod, TestContextManager testContextManager) Construct a newRunBeforeTestMethodCallbacksstatement. - 
Method Summary
Modifier and TypeMethodDescriptionvoidevaluate()InvokeTestContextManager.beforeTestMethod(Object, Method)and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores). 
- 
Constructor Details
- 
RunBeforeTestMethodCallbacks
public RunBeforeTestMethodCallbacks(Statement next, Object testInstance, Method testMethod, TestContextManager testContextManager) Construct a newRunBeforeTestMethodCallbacksstatement.- Parameters:
 next- the nextStatementin the execution chaintestInstance- the current test instance (nevernull)testMethod- the test method which is about to be executed on the test instancetestContextManager- the TestContextManager upon which to callbeforeTestMethod()
 
 - 
 - 
Method Details
- 
evaluate
InvokeTestContextManager.beforeTestMethod(Object, Method)and then evaluate the nextStatementin the execution chain (typically an instance ofRunBefores). 
 -