open class RunAfterTestMethodCallbacks : Statement
RunAfterTestMethodCallbacks is a custom JUnit Statement which allows the Spring TestContext Framework to be plugged into the JUnit execution chain by calling afterTestMethod() on the supplied TestContextManager.
NOTE: This class requires JUnit 4.9 or higher.
Author
Sam Brannen
Since
3.0
See Also
#evaluate()RunBeforeTestMethodCallbacks
RunAfterTestMethodCallbacks(next: Statement, testInstance: Any, testMethod: Method, testContextManager: TestContextManager)
Construct a new |
open fun evaluate(): Unit
Evaluate the next Statement in the execution chain (typically an instance of org.junit.internal.runners.statements.RunAfters), catching any exceptions thrown, and then invoke If the invocation of |