public String format(DataTable table) {
        StringBuilder result = new StringBuilder();
        formatTo(table, result);
        return result.toString();
    }
@Test
    void should_print() {
        DataTable table = tableOf("hello");
        assertEquals("| hello |\n", formatter.format(table));
    }