new WidgetRatingsMapReduceResult("25L", new WidgetRatingsMapReduceResult.WidgetStatisticsMapReduceResult(userRatings, 2L, 0L)),
new WidgetRatingsMapReduceResult("26L", new WidgetRatingsMapReduceResult.WidgetStatisticsMapReduceResult(userRatings, 2L, 0L))
);
List<WidgetUsersMapReduceResult> usersMapReduceResults = Arrays.asList(
new WidgetUsersMapReduceResult("24L", users),
new WidgetUsersMapReduceResult("25L", users),
new WidgetUsersMapReduceResult("26L", users)
);
expect(mongoOperations.findAll(WidgetRatingsMapReduceResult.class, CollectionNames.WIDGET_RATINGS)).andReturn(ratings);
expect(mongoOperations.findAll(WidgetUsersMapReduceResult.class, CollectionNames.WIDGET_USERS)).andReturn(usersMapReduceResults);
replay(mongoOperations);