@Test
public void TestRetryBudgetRatioPeriodBeanValidation()
{

    assertValidates(new BalancingHttpClientConfig().setRetryBudgetRatioPeriod(new Duration(1, SECONDS)));
    assertFailsValidation(new BalancingHttpClientConfig().setRetryBudgetRatioPeriod(new Duration(999, MILLISECONDS)),
            "retryBudgetRatioPeriod", "{com.proofpoint.units.MinDuration.message}", MinDuration.class);
    assertValidates(new BalancingHttpClientConfig().setRetryBudgetRatioPeriod(new Duration(1, MINUTES)));
    assertFailsValidation(new BalancingHttpClientConfig().setRetryBudgetRatioPeriod(new Duration(60001, MILLISECONDS)),
            "retryBudgetRatioPeriod", "{com.proofpoint.units.MaxDuration.message}", MaxDuration.class);
}