title: ExpectedException.expect not working. junit
body: <p>Following is my code.</p>
  
  <pre><code>@Rule
  private ExpectedException m_exception = ExpectedException.none();
  
  
  
  @Test
  public void testDecode()
  {   
      m_exception.expect(IllegalArgumentException.class);
      throw new IllegalArgumentException();
  
  }
  </code></pre>
  
  <p>When I run this test, It fails,</p>
  
  <pre><code>[junit] java.lang.IllegalArgumentException
  [junit]     at com.sonicsw.mf.framework.util.test.URLUtilityTest.testDecode(URLUtilityTest.java:60)
  [junit]     at org.eclipse.ant.internal.launching.remote.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
  [junit]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.run(InternalAntRunner.java:424)
  [junit]     at org.eclipse.ant.internal.launching.remote.InternalAntRunner.main(InternalAntRunner.java:138)
  </code></pre>
  
  <p>Any Idea what I'm doing wrong here?</p>