public void testVerticalPartitionColumn() throws Exception {
Table catalog_tbl = this.getTable(TM1Constants.TABLENAME_SUBSCRIBER);
Column orig_hp_col = this.getColumn(catalog_tbl, "S_ID");
MultiColumn orig_vp_col = MultiColumn.get(this.getColumn(catalog_tbl, "S_ID"), this.getColumn(catalog_tbl, "SUB_NBR"), this.getColumn(catalog_tbl, "VLR_LOCATION"));
VerticalPartitionColumn item0 = VerticalPartitionColumn.get(orig_hp_col, orig_vp_col);
assertNotNull(item0);
String key = CatalogKey.createKey(item0);
assertNotNull(key);
assertFalse(key.isEmpty());
// System.err.println(item0 + "\n" + key);
MultiColumn clone = (MultiColumn) CatalogKey.getFromKey(catalog_db, key, Column.class);
assertNotNull(clone);
assertEquals(item0.size(), clone.size());
}