@Test
public void testCreateFirstAttempt() {

  TimedAttemptSettings attempt = algorithm.createFirstAttempt();
  // Checking only the most core values, to not make this test too implementation specific.
  assertEquals(0, attempt.getAttemptCount());
  assertEquals(0, attempt.getOverallAttemptCount());
  assertEquals(Duration.ZERO, attempt.getRetryDelay());
  assertEquals(Duration.ZERO, attempt.getRandomizedRetryDelay());
  assertEquals(Duration.ofMillis(1L), attempt.getRpcTimeout());
  assertEquals(Duration.ZERO, attempt.getRetryDelay());
}