@Test
public void testSerialization() throws Exception {
AbstractFeature features[] = new AbstractFeature[] {
new BasePartitionFeature(p_estimator, catalog_proc),
new ParamArrayLengthFeature(p_estimator, catalog_proc),
new ParamHashEqualsBasePartitionFeature(p_estimator, catalog_proc),
};
for (TransactionTrace txn_trace : workload.getTransactions()) {
for (AbstractFeature f : features) {
f.extract(this.fset, txn_trace);
} // FOR