### Question:
BatchLineReader { public void close() throws IOException { reader.close(); } BatchLineReader(final InputStream reader);  BatchLineReader(final InputStream reader, final int bufferSize); void close(); List<String> toList(); List<Line> toLineList(); static final String BOUNDARY; static final String DOUBLE_DASH; static final String CRLF; }### Answer:
@Test(expected = IllegalArgumentException.class) public void testFailBufferSizeZero() throws IOException { BatchLineReader reader = create(TEXT_EMPTY, 0); reader.close(); }
@Test(expected = NullPointerException.class) public void testInputStreamIsNull() throws IOException { BatchLineReader reader = new BatchLineReader(null); reader.close(); }
@Test(expected = IllegalArgumentException.class) public void testFailBufferSizeNegative() throws IOException { BatchLineReader reader = create(TEXT_EMPTY, -1); reader.close(); }