title: How to inject spring bean into static classRule?
body: <p>How to inject spring bean into static classRule?</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(classes = {ConfigClass.class})
  public class SimpleTest   {
  
   @ClassRule 
   public static SimpleClassRule simpleClassRule = new SimpleClassRule ();
  
  }
  </code></pre>