RunBeforeTestClassCallbacks and RunAfterTestClassCallbacks around the provided statement.RunBeforeTestMethodCallbacks and RunAfterTestMethodCallbacks around the provided statement.TestContextManager.beforeTestMethod(Object, java.lang.reflect.Method) and
then invokes the next Statement in the execution chain (typically
an instance of org.junit.internal.runners.statements.RunBefores).RunAfterTestMethodCallbacks is a custom JUnit 4.5+
Statement which allows the Spring TestContext Framework to
be plugged into the JUnit execution chain by calling afterTestMethod()}
on the supplied TestContextManager.RunAfterTestMethodCallbacks statement.RunBeforeTestMethodCallbacks is a custom JUnit 4.5+
Statement which allows the Spring TestContext Framework to
be plugged into the JUnit execution chain by calling
beforeTestMethod() on the supplied TestContextManager.RunBeforeTestMethodCallbacks statement.SpringIntegrationMethodRule, which doesn't use the deprecated TestWatchman, and also works together with SpringIntegrationClassRule. However, the suggested replacements do not support Spring Framework 2.5, while this class retains support for Spring Framework 2.5.TestRule to be used with @ClassRule to run the @BeforeClass and @AfterClass modifiers that are part of SpringJUnit4ClassRunner.TestRule to be used with @Rule to run the @Before and @After modifiers that are part of SpringJUnit4ClassRunner.SpringIntegrationMethodRule and SpringIntegrationClassRule.