anchor.diff:  
   * `ServletTestExecutionListener`: configures Servlet API mocks for a
     `WebApplicationContext`
  +* `DirtiesContextBeforeModesTestExecutionListener`: handles the `@DirtiesContext` annotation for
  +  _before_ modes
   * `DependencyInjectionTestExecutionListener`: provides dependency injection for the test
     instance
  -* `DirtiesContextTestExecutionListener`: handles the `@DirtiesContext` annotation
  +* `DirtiesContextTestExecutionListener`: handles the `@DirtiesContext` annotation for
  +  _after_ modes
   * `TransactionalTestExecutionListener`: provides transactional test execution with
     default rollback semantics
   * `SqlScriptsTestExecutionListener`: executes SQL scripts configured via the `@Sql`
  
positive.code: * `@Transactional`
  * `@BeforeTransaction`
  * `@AfterTransaction`
  * `@Rollback`
  * `@Sql`
  * `@SqlConfig`
  
negative.code: discussion of `@DirtiesContext` in <<integration-testing-annotations-spring>>). This
  instructs Spring to remove the context from the cache and rebuild the application
  context before executing the next test. Note that support for the `@DirtiesContext`
  annotation is provided by the `DirtiesContextBeforeModesTestExecutionListener` and the
  `DirtiesContextTestExecutionListener` which are enabled by default.
  
  
  [[testcontext-ctx-management-ctx-hierarchies]]
  