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

    Retry retry = new Retry();
    ObjectNode conf = JsonNodeFactory.instance.objectNode();
    conf.put("maxDelay", 150);
    // Valid on its own, but less than the default initialDelay of 1000!
    retry.configure(conf);
}