### Question:
LimitedInputStream extends InputStream { public long skip(long n) throws IOException { n = Math.min(n, m_limit); if (n <= 0) return(0); n = m_source.skip(n); if (n > 0) m_limit -= n; return(n); } LimitedInputStream(InputStream source); int getLimit(); void setLimit(int length); int read(); int read(byte buffer[], int offset, int length); long skip(long n); int available(); void close();  }### Answer:
@Test public void skipZeroLimit() throws IOException { assertEquals(0, m_fixture.skip(1)); }