// expected
}
RetryContext context = retryTemplate.open(retryPolicy, state);
// True after exhausted - the history is reset...
assertTrue(retryPolicy.canRetry(context));
}
@Test
public void testKeyGeneratorNotConsistentAfterFailure() throws Throwable {