title: @After ,@before not working in testcase
body: <p>I have started testing and now i want to use <code>@After</code>, <code>@Before</code> and <code>@Test</code> but my application only runs the <code>@Before</code> method and gives output on console</p>
  
  <blockquote>
    <p>before</p>
  </blockquote>
  
  <p>However, if I remove <code>@After</code> and <code>@Before</code> it runs the @Test. My code is here: </p>
  
  <pre><code>public class TestPractise extends AbstractTransactionalDataSourceSpringContextTests{
  
      @Before
      public void runBare(){
          System.out.println("before");
      }
  
      @Test
      public void testingMethod(){
          System.out.println("testing");
      }
  
      @After
      public void setDirty(){
          System.out.println("after");
      }
  }
  </code></pre>
  
  <p>Why aren't <code>@After</code>, <code>@Test</code> and <code>@before</code> working simultaneously?</p>