@Override
              public Object next() {
                try {
                  return Util.toString(response.body().asReader(Util.UTF_8));
                } catch (IOException e) {
                  fail("", e.getMessage());
                  return null;
                } finally {
                  Util.ensureClosed(response);
                  called = true;
                }
              }
This test ensures that the doNotCloseAfterDecode flag functions.

<p>It does so by creating a custom Decoder that lazily retrieves the response body when asked
for it and pops the value into an Iterator.

<p>Without the doNoCloseAfterDecode flag, the test will fail with a "stream is closed"
exception.
core/src/test/java/feign/FeignBuilderTest.java