mapper.map(key, reader.getCurrentValue(), context);
size++;
}
mapper.cleanup(context);
// validate the mapper's output
assertEquals(p, context.keys[p]);
assertEquals(firstKey.longValue(), context.values[p].getFirstId());
assertEquals(size, context.values[p].getSize());