@Test public void getLinesShouldReturnLinesSanitized() { CSVResult csv = csv( headers("name", "city"), lines( line("John", "Seattle"), line("John", "=Seattle"), line("John", "+Seattle"), line("-John", "Seattle"), line("@John", "Seattle"), line("John", "Seattle=") ) ); assertEquals( line( "John,Seattle", "John,'=Seattle", "John,'+Seattle", "'-John,Seattle", "'@John,Seattle", "John,Seattle=" ), csv.getLines() ); }
public List<String> getLines() { return lines; }
CSVResult { public List<String> getLines() { return lines; } }
CSVResult { public List<String> getLines() { return lines; } CSVResult(List<String> headers, List<String> lines);  CSVResult(String separator, List<String> headers, List<List<String>> lines); }
CSVResult { public List<String> getLines() { return lines; } CSVResult(List<String> headers, List<String> lines);  CSVResult(String separator, List<String> headers, List<List<String>> lines); List<String> getHeaders(); List<String> getLines(); }
CSVResult { public List<String> getLines() { return lines; } CSVResult(List<String> headers, List<String> lines);  CSVResult(String separator, List<String> headers, List<List<String>> lines); List<String> getHeaders(); List<String> getLines();  }