CosineSimilarityCalculationStrategy extends AbstractSimilarityCalculationStrategy { public String getSourceInfo() { return ItemItemService.SOURCE_INFO_COSINE; } CosineSimilarityCalculationStrategy();  CosineSimilarityCalculationStrategy(final ActionDAO actionDao, final ItemAssocService itemAssocService); String getSourceInfo();  }
@Test public void getSourceInfo_isCorrect() { assertThat(strategy.getSourceInfo(), is(ItemItemService.SOURCE_INFO_COSINE)); }