@Test
    public void requireMarkWorks() throws IOException {
        InputStream stream = create("abcdefghijklmnopqr".getBytes(StandardCharsets.US_ASCII), 9);
        assertEquals(97, stream.read());
        assertTrue(stream.markSupported());
        stream.mark(5);
        assertEquals(98, stream.read());
        assertEquals(99, stream.read());
        stream.reset();
        assertEquals(98, stream.read());
        assertEquals(99, stream.read());
        assertEquals(100, stream.read());
        assertEquals(101, stream.read());
    }
@author <a href="mailto:einarmr@yahoo-inc.com">Einar M R Rosenvinge</a>
@since 5.1.23
vespaclient-container-plugin/src/test/java/com/yahoo/vespa/http/server/util/ByteLimitedInputStreamTestCase.java