docs: @SuppressWarnings("deprecation")
      public static void assertEmpty(List<Throwable> errors) throws Exception {
          if (errors.isEmpty()) {
              return;
          }
          if (errors.size() == 1) {
              throw Throwables.rethrowAsException(errors.get(0));
          }
  
          /*
             * Many places in the code are documented to throw
             * org.junit.internal.runners.model.MultipleFailureException.
             * That class now extends this one, so we throw the internal
             * exception in case developers have tests that catch
             * MultipleFailureException.
             */
          throw new org.junit.internal.runners.model.MultipleFailureException(errors);
      }