final List<Map<TestData.Key, Collection<RecordMatch>>> expectedNMatchesMapList = new ArrayList<Map<Key,Collection<RecordMatch>>>(NUM_PROBES);
final JoinFunction[] nMatcher = new RecordMatchRemovingJoin[NUM_PROBES];
for(int i = 0; i < NUM_PROBES; i++) {
Map<TestData.Key, Collection<RecordMatch>> tmp;
expectedNMatchesMapList.add(tmp = deepCopy(expectedFirstMatchesMap));
nMatcher[i] = new RecordMatchRemovingJoin(tmp);
}
final JoinFunction firstMatcher = new RecordMatchRemovingJoin(expectedFirstMatchesMap);
final Collector<Record> collector = new DiscardingOutputCollector<Record>();
// reset the generators
bgen.reset();