title: Assertion error even if there is expected error in JUnit
body: <p>Test in my app is throwing:</p>
  
  <pre><code>java.lang.AssertionError: Expected exception: java.lang.RuntimeException
      at org.junit.internal.runners.statements.ExpectException.evaluate(ExpectException.java:35)
  </code></pre>
  
  <p>Even if I have this:</p>
  
  <pre><code>@Test(expected=RuntimeException.class)
  public void test(){
    // I can see from the console log that a java.lang.RuntimeException was thrown
  }
  </code></pre>
  
  <p>What could be the issue?</p>