WikipediaInputSplit split = new WikipediaInputSplit(new FileSplit(p, 0, f.length(), null),0);
// Initialize the RecordReader
AggregatingRecordReader reader = new AggregatingRecordReader();
reader.initialize(split, ctx);
assertTrue(reader.nextKeyValue());
testXML(reader.getCurrentValue(), "A", "B", "");
assertTrue(reader.nextKeyValue());
testXML(reader.getCurrentValue(), "C", "D", "");
assertTrue(reader.nextKeyValue());
testXML(reader.getCurrentValue(), "E", "F", "");