@Test
    public void testCloseBehavior() throws IOException {
        doACloseBehaviorTest(true);
        doACloseBehaviorTest(false);
    }
Read increasingly more of the stream, but not all, with each pass before rewinding to
make sure we pick up at the correct point
tika-core/src/test/java/org/apache/tika/TestRereadableInputStream.java