### Question:
NullBackoffStrategy implements ConnectionBackoffStrategy { @Override public boolean shouldBackoff(final Throwable t) { return false; }  @Override boolean shouldBackoff(final Throwable t); @Override boolean shouldBackoff(final HttpResponse response);  }### Answer:
@Test public void doesNotBackoffForThrowables() { assertFalse(impl.shouldBackoff(new Exception())); }
@Test public void doesNotBackoffForResponses() { final HttpResponse resp = new BasicHttpResponse(HttpStatus.SC_SERVICE_UNAVAILABLE, "Service Unavailable"); assertFalse(impl.shouldBackoff(resp)); }