### Question:
CsvReader implements Closeable, Iterable<String[]> { public List<String[]> readAll() throws IOException { List<String[]> allElements = new ArrayList<String[]>(); String[] nextRecord; while ((nextRecord = readNext()) != null) { allElements.add(nextRecord); } return allElements; } CsvReader(Reader reader);  CsvReader(Reader reader, int line);  CsvReader(Reader reader, CsvParser csvParser);  CsvReader(Reader reader, int line, CsvParser csvParser); List<String[]> readAll(); String[] readNext(); @Override void close(); @Override Iterator<String[]> iterator(); static final int DEFAULT_SKIP_LINES; }### Answer:
@Test public void testParseAll() throws IOException { assertEquals(7, csvr.readAll().size()); }