CSVRecord implements Serializable, Iterable<String> { public boolean isMapped(final String name) { return mapping != null ? mapping.containsKey(name) : false; } 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 testIsMapped() { assertFalse(record.isMapped("first")); assertTrue(recordWithHeader.isMapped("first")); assertFalse(recordWithHeader.isMapped("fourth")); }