@Test public void markSupported() throws Exception { assertTrue(whole.markSupported()); assertTrue(middle.markSupported()); }
@Test public void markAndReset() throws Exception { Assume.assumeTrue(whole.markSupported()); whole.mark(1024); int read = whole.read(); whole.reset(); int reread = whole.read(); assertEquals(read, reread); }