public static Builder custom() {
        return new Builder();
    }
@Test
    public void builderLimitIsLessThanOne() throws Exception {
        exception.expect(IllegalArgumentException.class);
        exception.expectMessage("LimitForPeriod should be greater than 0");
        RateLimiterConfig.custom()
            .limitForPeriod(0);
    }