public <V> V retryCallable(
      Callable<V> callable, Set<Class<? extends Exception>> exceptionsToIntercept) {
    return RetryHelper.runWithRetries(
        callable,
        getRetrySettings(),
        getExceptionHandlerForExceptions(exceptionsToIntercept),
        NanoClock.getDefaultClock());
  }
@Test(expected = RetryHelperException.class)
  public void testRetryCallable_ThrowsRetryHelperException() {
    Callable<Integer> incrementingFunction =
        () -> {
          {
            throw new MyException();
          }
        };
    retryCallableManager.retryCallable(incrementingFunction, ImmutableSet.of(MyException.class));
  }