@Test
  public void canSupportGzip() throws Exception {
    /* enqueue a zipped response */
    final String responseData = "Compressed Data";
    server.enqueue(
        new MockResponse()
            .addHeader("Content-Encoding", "gzip")
            .setBody(new Buffer().write(compress(responseData))));

    TestInterface api =
        newBuilder().target(TestInterface.class, "http://localhost:" + server.getPort());

    String result = api.get();

    /* verify that the response is unzipped */
    assertThat(result).isNotNull().isEqualToIgnoringCase(responseData);
  }
Some client implementation tests should override this test if the PATCH operation is
unsupported.
core/src/test/java/feign/client/AbstractClientTest.java