@Test(expected=IllegalArgumentException.class)
public void invalidInitialDelay() throws Exception {

    Retry retry = new Retry();
    ObjectNode conf = JsonNodeFactory.instance.objectNode();
    conf.put("initialDelay", -15);
    retry.configure(conf);
}