Assert.assertNull(result.getThrowable());
}
@Test
public void shouldSkipResultIfExceptionCaughtAfterJunit() throws Exception {
State.caughtExceptionAfterJunit(new AssumptionViolatedException("A"));
TestResult result = TestResult.failed(new AssumptionViolatedException("A"));
new UpdateTestResultBeforeAfter().update(event, result);
State.caughtExceptionAfterJunit(null);
Assert.assertEquals(Status.SKIPPED, result.getStatus());