docs: protected Statement possiblyExpectingExceptions(FrameworkMethod method,
              Object test, Statement next) {
          Test annotation = method.getAnnotation(Test.class);
          Class<? extends Throwable> expectedExceptionClass = getExpectedException(annotation);
          return expectedExceptionClass != null ? new ExpectException(next, expectedExceptionClass) : next;
      }