context.write(EasyMock.eq(new IntWritable(12)), MathHelper.vectorMatches(MathHelper.elem(34, 0.8)));
EasyMock.replay(context);
EntriesToVectorsReducer reducer = new EntriesToVectorsReducer();
setField(reducer, "maxSimilaritiesPerRow", 1);
reducer.reduce(new SimilarityMatrixEntryKey(12, 1.0), Arrays.asList(
MathHelper.matrixEntry(12, 34, 0.8),
MathHelper.matrixEntry(12, 56, 0.7)), context);
EasyMock.verify(context);