@Test
void getFieldNamesTest() {

    TableInfo tableInfo;
    tableInfo = new TableInfo();
    tableInfo.addFields(new TableField().setColumnName("name"));
    Assertions.assertEquals(tableInfo.getFieldNames(), "name");
    tableInfo = new TableInfo();
    tableInfo.addFields(new TableField().setColumnName("name"), new TableField().setColumnName("age"));
    Assertions.assertEquals(tableInfo.getFieldNames(), "name, age");
    tableInfo = new TableInfo();
    tableInfo.addFields(new TableField().setColumnName("name"), new TableField().setColumnName("age"), new TableField().setColumnName("phone"));
    Assertions.assertEquals(tableInfo.getFieldNames(), "name, age, phone");
}