title: Why isn't my @BeforeClass method running?
body: <p>I have the following code:</p>
  
  <pre><code>    @BeforeClass
      public static void setUpOnce() throws InterruptedException {
          fail("LOL");
      }
  </code></pre>
  
  <p>And various other methods that are either @Before, @After, @Test or @AfterClass methods.</p>
  
  <p>The test doesn't fail on start up as it seems it should. Can someone help me please?</p>
  
  <p>I have JUnit 4.5</p>
  
  <p>The method is failing in an immediate call to setUp() which is annotated as @before.
  Class def is :</p>
  
  <pre><code>public class myTests extends TestCase {
  </code></pre>