title: Code coverage in Java with EclEmma not scanning expecting exception methods
body: <p>I'm trying to get my code coverage in java, using Eclipse and EclEmma.</p>
  
  <p>My tests are using JUnit 4 and I've got some tests looking like this :</p>
  
  <pre><code>    @Test(expected = IllegalArgumentException.class)
      public void createTime_withInvalidMinuteUnder0_throws(){
      //Arrange
      ...
      //Act
      Something triggering IllegalArgumentException Here       
  }
  </code></pre>
  
  <p>And EclEmma says that the test fails because there's an IllegalArgumentException being thrown. So it drops my code coverage indicator even though it's supposed to throw something. Is there an option to make it see that JUnit expected exception tag ?</p>
  
  <p>edit: I've found out that if you add the throw to the declaration of the test aswell, it works!</p>