@Test
public void assertResultRetryPolicyConfiguredCorrectly()
{

    int expectedMaxErrorRetry = 12345;
    when(configurationHelper.getProperty(any(), eq(Integer.class))).thenReturn(expectedMaxErrorRetry);
    RetryPolicy retryPolicy = retryPolicyFactory.getRetryPolicy();
    assertEquals(PredefinedRetryPolicies.DEFAULT_RETRY_CONDITION, retryPolicy.getRetryCondition());
    assertEquals(backoffStrategy, retryPolicy.getBackoffStrategy());
    assertEquals(expectedMaxErrorRetry, retryPolicy.getMaxErrorRetry());
}