Instead of throwing the exception, you could use [Assert.fail](http://junit.sourceforge.net/javadoc/org/junit/Assert.html#fail%28java.lang.String%29)