Retry extends AbstractErrorHandlerLayer<JsonNode> { @Override public JsonNode getConfiguration() { return this.config; } Retry();  Retry(int maxRetries, int initialDelay, int maxDelay,
			double backoffFactor); @Override void configure(JsonNode config); static ObjectNode defaultConfig(); @Override JsonNode getConfiguration(); static final String URI; }
@Test public void customConfig() throws Exception { Retry retry = new Retry(15, 150, 1200, 1.2); JsonNode configuration = retry.getConfiguration(); assertEquals(15, configuration.get("maxRetries").intValue()); assertEquals(150, configuration.get("initialDelay").intValue()); assertEquals(1200, configuration.get("maxDelay").intValue()); assertEquals(1.2, configuration.get("backoffFactor").doubleValue(), 0.001); }