@Test
public void testAllColumns() {

    Table table = new Table("t").as("ali");
    table.bigintColumn("aaa");
    table.charColumn("bbb");
    Column[] all = table.allColumns();
    assertEquals("aaa", all[0].getColumnName());
    assertEquals(JDBCType.BIGINT, all[0].getType());
    assertEquals("bbb", all[1].getColumnName());
    assertEquals(JDBCType.CHAR, all[1].getType());
}