);
}
public void testGetTableMetaData() throws DataSetException {
ITable table = getTable();
ITableMetaData tableMetaData = table.getTableMetaData();
assertEquals("table", tableMetaData.getTableName());
Column[] columns = tableMetaData.getColumns();
assertEquals(3, columns.length);
assertEquals("ONE", columns[0].getColumnName());
assertEquals("TWO", columns[1].getColumnName());
assertEquals("THREE", columns[2].getColumnName());
assertEquals(DataType.UNKNOWN, columns[0].getDataType());
assertEquals(DataType.UNKNOWN, columns[1].getDataType());
assertEquals(DataType.UNKNOWN, columns[2].getDataType());
Column[] primaryKeys = tableMetaData.getPrimaryKeys();
assertEquals(0, primaryKeys.length);
}