### Question:
CSVDataSource extends ColumnarDataSource { public void setSkipLines(int skiplines) { this.skiplines = skiplines; } CSVDataSource(); String getInputFile(); void setInputFile(String file); String getEncoding(); void setEncoding(String encoding); int getSkipLines(); void setSkipLines(int skiplines); boolean getHeaderLine(); void setHeaderLine(boolean hasheader); char getSeparator(); void setSeparator(char separator); int getBufferSize(); void setBufferSize(int buffer_size); void setReader(Reader reader); RecordIterator getRecords(); @Override void writeConfig(ConfigWriter cw);  }### Answer:
@Test public void testSingleRecordWithComment() throws IOException { source.addColumn(new Column("F1", null, null, null)); source.addColumn(new Column("F2", null, null, null)); source.addColumn(new Column("F3", null, null, null)); source.setSkipLines(1); RecordIterator it = read("# this is a comment\nF1,F2,F3\na,b,c"); Record r = it.next(); assertEquals("a", r.getValue("F1")); assertEquals("b", r.getValue("F2")); assertEquals("c", r.getValue("F3")); }