@SuppressWarnings("deprecation")
@Test
public void testFunkSVDRecommenderEngineCreate() throws RecommenderBuildException {
LenskitRecommenderEngine engine = makeEngine();
Recommender rec = engine.createRecommender();
assertThat(rec.getItemScorer(),
instanceOf(FunkSVDItemScorer.class));
assertThat(rec.getItemRecommender(),
instanceOf(TopNItemRecommender.class));
RatingPredictor pred = rec.getRatingPredictor();
assertThat(pred, instanceOf(SimpleRatingPredictor.class));
assertThat(((SimpleRatingPredictor) pred).getScorer(),
sameInstance(rec.getItemScorer()));
assertThat(((FunkSVDItemScorer) rec.getItemScorer()).getUpdateRule(),
nullValue());
}