public String format(DataTable table) {
        StringBuilder result = new StringBuilder();
        formatTo(table, result);
        return result.toString();
    }
@Test
    void should_print_multiple_rows_and_columns() {
        DataTable table = DataTable.create(asList(
            asList("1", "1", "1"),
            asList("4", "5", "6"),
            asList("7", "8", "9")));
        assertEquals("" +
                "| 1 | 1 | 1 |\n" +
                "| 4 | 5 | 6 |\n" +
                "| 7 | 8 | 9 |\n",
            formatter.format(table));
    }