hihoValue2.setIsOld(false);
ArrayList<HihoValue> values = new ArrayList<HihoValue>();
Reducer.Context context = mock(Reducer.Context.class);
Counters counters = new Counters();
Counter counter = counters.findCounter(MergeRecordCounter.OUTPUT);
when(context.getCounter(MergeRecordCounter.OUTPUT)).thenReturn(counter);
MergeKeyReducer mergeReducer = new MergeKeyReducer();
mergeReducer.reduce(hihoTuple, values, context);
verify(context).write(key, null);
assertEquals(1, context.getCounter(MergeRecordCounter.OUTPUT)