@Test
public void testCreateDeadLetterQueue() throws Exception {

    JsonValue config = parseJsonString("{\"maxRetries\":0,\"postRetryAction\":\"dead-letter-queue\"}");
    SyncFailureHandler handler = factory.create(config);
    Assert.assertTrue(handler instanceof DeadLetterQueueHandler);
}