static String headerLine(CSVFormat csvFormat) {
    return String.join(String.valueOf(csvFormat.getDelimiter()), csvFormat.getHeader());
  }
@Test
  public void givenQuoteModeAllNonNull_isNoop() {
    CSVFormat csvFormat = csvFormat().withNullString("N/A").withQuoteMode(QuoteMode.ALL_NON_NULL);
    PCollection<String> input =
        pipeline.apply(
            Create.of(
                headerLine(csvFormat),
                "\"a\",\"1\",N/A",
                "\"b\",\"2\",\"2.2\"",
                "\"c\",\"3\",\"3.3\""));

    CsvIOStringToCsvRecord underTest = new CsvIOStringToCsvRecord(csvFormat);
    CsvIOParseResult<List<String>> result = input.apply(underTest);
    PAssert.that(result.getOutput())
        .containsInAnyOrder(
            Arrays.asList(
                Arrays.asList("a", "1", null),
                Arrays.asList("b", "2", "2.2"),
                Arrays.asList("c", "3", "3.3")));
    PAssert.that(result.getErrors()).empty();

    pipeline.run();
  }