File outDir = new File("output/points");
assertTrue("output dir exists?", outDir.exists());
String[] outFiles = outDir.list();
assertEquals("output dir files?", 4, outFiles.length);
DummyOutputCollector<Text, Text> collector = new DummyOutputCollector<Text, Text>();
for (String line : new FileLineIterable(new File("output/points/part-00000"))) {
String[] lineParts = line.split("\t");
assertEquals("line parts", 2, lineParts.length);
String cl = line.substring(0, line.indexOf(':'));
collector.collect(new Text(cl), new Text(lineParts[1]));
}