DataModel dataModel = EasyMock.createMock(DataModel.class);
EasyMock.expect(dataModel.getNumItems()).andReturn(3);
EasyMock.expect(dataModel.getItemIDs()).andReturn(allItemIDs.iterator());
PreferenceArray prefArrayOfUser123 = new GenericUserPreferenceArray(Collections.singletonList(
new GenericPreference(123L, 2L, 1.0f)));
CandidateItemsStrategy strategy = new AllUnknownItemsCandidateItemsStrategy();
EasyMock.replay(dataModel);