title: How can a test 'dirty' a spring application context?
body: <p>The <a href="http://static.springsource.org/spring/docs/2.5.x/reference/testing.html#testing-ctx-management" rel="nofollow noreferrer">spring framework documentation</a> states:</p>
  
  <blockquote>
    <p>In the unlikely case that a test may
    'dirty' the application context,
    requiring reloading - for example, by
    changing a bean definition or the
    state of an application object -
    Spring's testing support provides
    mechanisms to cause the test fixture
    to reload the configurations and
    rebuild the application context before
    executing the next test.</p>
  </blockquote>
  
  <p>Can someone elaborate this? I am just not getting it. Examples would be nice.</p>