@Test public void getHeadersShouldReturnHeadersQuotedIfRequired() { CSVResult csv = csv(headers("na,me", ",,age"), lines(line("John", "30"))); assertEquals( headers("\"na,me\"", "\",,age\""), csv.getHeaders() ); }
public List<String> getHeaders() { return headers; }
CSVResult { public List<String> getHeaders() { return headers; } }
CSVResult { public List<String> getHeaders() { return headers; } CSVResult(List<String> headers, List<String> lines);  CSVResult(String separator, List<String> headers, List<List<String>> lines); }
CSVResult { public List<String> getHeaders() { return headers; } 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> getHeaders() { return headers; } CSVResult(List<String> headers, List<String> lines);  CSVResult(String separator, List<String> headers, List<List<String>> lines); List<String> getHeaders(); List<String> getLines();  }