@@ -0,0 +1,1207 @@
+package me.alb_i986.testing.hamcrest.assertion.retry;%0A%0Aimport org.junit.Test;%0A%0Aimport java.util.Arrays;%0Aimport java.util.List;%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport static me.alb_i986.testing.hamcrest.assertion.retry.AssertRetry.*;%0Aimport static org.hamcrest.Matchers.*;%0A%0Apublic class AssertRetryIT %7B%0A%0A    @Test%0A    public void supplierEventuallyReturnsMatchingValue() %7B%0A        final Supplier%3CString%3E actual = new Supplier%3CString%3E() %7B%0A            int i = 0;%0A            List%3CString%3E actuals = Arrays.asList(%22a%22, %22b%22, %22c%22);%0A%0A            @Override%0A            public String get() throws Exception %7B%0A                return actuals.get(i++);%0A            %7D%0A        %7D;%0A        assertThat(actual, eventually(containsString(%22c%22)),%0A                configureRetry()%0A                        .retryOnException(false)%0A                        .maxAttempts(3)%0A                        .waitStrategy(WaitStrategies.sleep(2, TimeUnit.SECONDS))%0A                        // TODO%0A//                        .sleepBetweenAttempts(5, TimeUnit.SECONDS)%0A//                        .waitBetweenAttempts(WaitStrategies.sleep(5, TimeUnit.SECONDS))%0A//                        .timeoutAfter(10, TimeUnit.SECONDS)%0A        );%0A    %7D%0A%0A%7D

add integration test