title: @BeforeAll Method as non-static
body: <p>I was able to implement a non-static setup method with <code>@BeforeAll</code> annotation. 
  It seems to be working correctly as only gets call once. 
  I am bit confuse as the documentation for <code>@BeforeAll</code> says the method has to be static. Please explain.</p>
  
  <pre><code>@TestMethodOrder(OrderAnnotation.class)
  @SpringJUnitWebConfig(locations = { "classpath:service.xml" }) 
  @TestInstance(Lifecycle.PER_CLASS)
  @Retention(RetentionPolicy.RUNTIME)
  @Target(ElementType.TYPE)
  @Documented 
  @Inherited 
  public class MyTest
  {
      @BeforeAll
      public void setup() throws Exception {...}
  }
  </code></pre>