@Test
public void testCreateInfiniteRetry() throws Exception {

    JsonValue config = parseJsonString("{\"maxRetries\":-1}");
    SyncFailureHandler handler = factory.create(config);
    Assert.assertTrue(handler instanceof InfiniteRetrySyncFailureHandler);
}