@Test
public void testPrintStructure() throws IOException {

  String output =
      "ColumnType[] columnTypes = {"
          + LINE_END
          + "LOCAL_DATE, // 0     date        "
          + LINE_END
          + "INTEGER,    // 1     approval    "
          + LINE_END
          + "STRING,     // 2     who         "
          + LINE_END
          + "}"
          + LINE_END;
  assertEquals(
      output,
      new CsvReader()
          .printColumnTypes(
              CsvReadOptions.builder("../data/bush.csv")
                  .header(true)
                  .separator(',')
                  .locale(Locale.getDefault())
                  .sample(true)
                  .build()));
}