private byte[] compress(String data) throws Exception {
    try (ByteArrayOutputStream bos = new ByteArrayOutputStream(data.length())) {
      GZIPOutputStream gzipOutputStream = new GZIPOutputStream(bos);
      gzipOutputStream.write(data.getBytes(StandardCharsets.UTF_8), 0, data.length());
      gzipOutputStream.close();
      return bos.toByteArray();
    }
  }
Some client implementation tests should override this test if the PATCH operation is
unsupported.
core/src/test/java/feign/client/AbstractClientTest.java