@Test
void shouldRetryWithServiceUnavailable() {

    assertThat(interceptor.shouldRetry(1, HTTPStatus.OK.code)).isFalse();
    assertThat(interceptor.shouldRetry(1, HTTPStatus.SERVICE_UNAVAILABLE.code)).isTrue();
    assertThat(interceptor.shouldRetry(3, HTTPStatus.SERVICE_UNAVAILABLE.code)).isFalse();
}