KentBeck/junit — pull request #583 by UrsMetz (2012-12-23 20:36:59+00:00)
Title: ExpectedException doesn't fail when an AssertionError is expected but not thrown

When a user expected the production code to throw an AssertionError by using ExpectedException (together with the #handleAssertionErrors option) but the code under test didn't do so the test was not failing. This was because the ExpectedException rule caught its own AssertionError issued to signal that the expected exception was not thrown.