@Test
  void followRedirectsIsTrue() throws InterruptedException {
    final JaxRsTestInterface testInterface = buildTestInterface();

    String redirectPath = getRedirectionUrl();
    server.enqueue(buildMockResponseWithLocationHeader(redirectPath));
    server.enqueue(new MockResponse().setBody("redirected"));
    Request.Options options = buildRequestOptions(true);

    Object response = testInterface.withOptions(options);
    assertThat(response).isNotNull();
    assertThat(response).isEqualTo("redirected");
    assertThat(server.takeRequest().getPath()).isEqualTo("/withRequestOptions");
  }
Tests client-specific behavior, such as ensuring Content-Length is sent when specified.
hc5/src/test/java/feign/hc5/ApacheHttp5ClientTest.java