@Test
    public void testNeatives() throws IOException {
        testNegative(-1);   // fixed buffer
        testNegative(19);   // 1 byte short
    }
This test demonstrates why we should call mark(Integer.MAX_VALUE) instead of
mark(-1).
aws-java-sdk-core/src/test/java/com/amazonaws/internal/BufferedInputStreamResetTest.java