docs: public void checkThrows(Class<? extends Throwable> expectedThrowable, ThrowingRunnable runnable) {
          try {
              assertThrows(expectedThrowable, runnable);
          } catch (AssertionError e) {
              addError(e);
          }
      }