/** * Interface TestListener for JUnit > 3.4. * * <p>A Test failed. * @param test the test. * @param t the assertion thrown by the test. */ @Override public void addFailure(final Test test, final AssertionFailedError t) { addFailure(test, (Throwable) t); }