assertEquals(AbstractTransaction.RoundState.INITIALIZED, this.ts.getCurrentRoundState(BASE_PARTITION));
assertNotNull(this.ts.getLastUndoToken(BASE_PARTITION));
assertEquals(undoToken, this.ts.getLastUndoToken(BASE_PARTITION));
BatchPlanner nextPlanner = new BatchPlanner(nextBatch, this.catalog_proc, p_estimator);
BatchPlan nextPlan = nextPlanner.plan(TXN_ID,
BASE_PARTITION,
catalogContext.getAllPartitionIds(),
this.touchedPartitions,
nextParams);
List<WorkFragment.Builder> ftasks = new ArrayList<WorkFragment.Builder>();
nextPlan.getWorkFragmentsBuilders(TXN_ID, nextCounters, ftasks);
assertEquals(1, ftasks.size());
WorkFragment.Builder fragment = CollectionUtil.first(ftasks);
this.depTracker.addWorkFragment(this.ts, fragment, nextParams);
// We only need to add the query result for the first query