context.write(EasyMock.eq(new SimilarityMatrixEntryKey(34, 0.5)),
MathHelper.matrixEntryMatches(34, 12, 0.5));
EasyMock.replay(context);
SimilarityReducer reducer = new SimilarityReducer();
setField(reducer, "similarity", new DistributedTanimotoCoefficientVectorSimilarity());
reducer.reduce(new WeightedRowPair(12, 34, 3.0, 3.0), Arrays.asList(new Cooccurrence(56, 1.0, 2.0),
new Cooccurrence(78, 3.0, 6.0)), context);
EasyMock.verify(context);
}