### Question:
B2DefaultRetryPolicy implements B2RetryPolicy { @Override public boolean gotRetryableImmediately(String operation, int attemptsSoFar, long tookMillis, B2Exception e) { return (attemptsSoFar < MAX_ATTEMPTS); }  static Supplier<B2RetryPolicy> supplier(); @Override Integer gotRetryableAfterDelay(String operation,
                                          int attemptsSoFar,
                                          long tookMillis,
                                          B2Exception e); @Override boolean gotRetryableImmediately(String operation,
                                           int attemptsSoFar,
                                           long tookMillis,
                                           B2Exception e);  }### Answer:
@Test public void test_gotRetryableImmediately() { final B2Exception e = B2UnauthorizedException.create("test", 401, null, "msg"); int iAttempt = 1; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(policy.gotRetryableImmediately(OP, iAttempt, 0, e)); iAttempt++; assertTrue(!policy.gotRetryableImmediately(OP, iAttempt, 0, e)); }