public void testReducerValidValues() throws IOException, InterruptedException {
ArrayList<IntWritable> values = new ArrayList<IntWritable>();
values.add(new IntWritable(1));
values.add(new IntWritable(1));
ValuePair key = new ValuePair();
key.setValue1(new Text("This is a bookdelimiterBetweenKeyAndValuevalue1"));
key.setValue2(new Text("This is not a bookdelimiterBetweenKeyAndValuevalue2"));
Reducer.Context context = mock(Reducer.Context.class);
ScoreReducer scoreReducer = new ScoreReducer();
scoreReducer.reduce(key, values, context);
verify(context).write(key, new LongWritable(2));
}