LongWritable.class);
HadoopApprovals.verifyReducer(reducer, "life", 7, 35);
}
public void testMapReducer() throws Exception
{
SmartMapper mapper = new MapperWrapper(new WordCountMap(), LongWritable.class, Text.class, Text.class,
LongWritable.class);
SmartReducer reducer = new ReducerWrapper(new WordCountReduce(), Text.class, LongWritable.class, Text.class,
LongWritable.class);
HadoopApprovals.verifyMapReduce(mapper, reducer, 0, "one fish two fish red fish blue fish");
}