  @Test
  public void test03() {

    AtomicInteger ato = new AtomicInteger(0);
    RetryBuilder.<Integer>newBuilder().retryIfResult(rs -> rs < 3).build()
        .call(ato::incrementAndGet);
    Assert.assertEquals(3, ato.get());
  }