UnsyncBufferedInputStream extends UnsyncFilterInputStream { @Override public boolean markSupported() { return true; } UnsyncBufferedInputStream(InputStream inputStream);  UnsyncBufferedInputStream(InputStream inputStream, int size); @Override int available(); @Override void close(); @Override void mark(int readLimit); @Override boolean markSupported(); @Override int read(); @Override int read(byte[] bytes); @Override int read(byte[] bytes, int offset, int length); @Override void reset(); @Override long skip(long skip);  }
@Test public void testMarkSupported() { int size = 10; UnsyncBufferedInputStream unsyncBufferedInputStream = new UnsyncBufferedInputStream( new ByteArrayInputStream(new byte[size])); Assert.assertTrue(unsyncBufferedInputStream.markSupported()); }