@Test
void interceptWith503() throws IOException {

    var request = new Request.Builder().url("http://localhost").build();
    var response = new Response.Builder().request(request)
            .protocol(Protocol.HTTP_2)
            .code(HTTPStatus.SERVICE_UNAVAILABLE.code)
            .message("service unavailable").build();
    when(chain.request()).thenReturn(request);
    when(chain.proceed(request)).thenReturn(response);
    when(chain.connection()).thenReturn(connection);
    interceptor.intercept(chain);
    verify(connection).setNoNewExchanges(true);
}