instanceOf(ItemItemGlobalScorer.class));
}
@Test
public void testConfigSeparation() {
LenskitRecommender rec1 = null;
LenskitRecommender rec2 = null;
rec1 = engine.createRecommender();
rec2 = engine.createRecommender();
assertThat(rec1.getItemScorer(),
not(sameInstance(rec2.getItemScorer())));
assertThat(rec1.get(ItemItemModel.class),
allOf(not(nullValue()),
sameInstance(rec2.get(ItemItemModel.class))));
}