} catch (AssumptionViolatedException e) {
testNotifier.addFailedAssumption(e);
} catch (Throwable e) {
testNotifier.addFailure(e);
} finally {
testNotifier.fireTestFinished();
}
}
public static JunitTestCode create(Runnable testCode, Description testDescription) {
JunitTestCode junitTestCode = new JunitTestCode();