### Question:
LimitedInputStream extends InputStream { public void setLimit(int length) { if (length < 0) throw new IllegalArgumentException("length < 0 : " + length); m_limit = length; } 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(expected = IllegalArgumentException.class) public void setLimitNegArg() { m_fixture.setLimit(-1); }