private List<Throwable> getErrorsReference() {
    try {
      Field superErrors = ErrorCollector.class.getDeclaredField("errors");
      superErrors.setAccessible(true);
      return (List<Throwable>) superErrors.get(this);
    } catch (IllegalAccessException | NoSuchFieldException e) {
      throw new RuntimeException(e);
    }
  }
Increases visibility of {@link #verify()} to public and uses reflection to acquire access to
the {@code List} of {@code Throwable}s in {@link ErrorCollector}.
geode-junit/src/main/java/org/apache/geode/test/junit/rules/accessible/AccessibleErrorCollector.java