private MockResponse buildMockResponseWithLocationHeader(String redirectPath) {
    return new MockResponse().setResponseCode(302).addHeader("location", redirectPath);
  }
Tests client-specific behavior, such as ensuring Content-Length is sent when specified.
hc5/src/test/java/feign/hc5/ApacheHttp5ClientTest.java