CSVRecord implements Serializable, Iterable<String> { public Iterator<String> iterator() { return Arrays.asList(values).iterator(); } CSVRecord(final String[] values, final Map<String, Integer> mapping,
            final String comment, final long recordNumber); String get(Enum<?> e); String get(final int i); String get(final String name); String getComment(); long getRecordNumber(); boolean isConsistent(); boolean isMapped(final String name); boolean isSet(final String name); Iterator<String> iterator(); int size(); @Override String toString();  }
@Test public void testIterator() { int i = 0; for (String value : record) { assertEquals(values[i], value); i++; } }