@Test
public void getUserWidgetRatings() {
Map<Long, WidgetRating> widgetRatings = repository.getUsersWidgetRatings(1L);
WidgetRating gadgetOne = widgetRatings.get(1L);
assertEquals(WidgetRating.DISLIKE, gadgetOne.getScore());
assertEquals(new Long(1), gadgetOne.getUserId());
assertEquals(new Long(1), gadgetOne.getEntityId());
WidgetRating gadgetTwo = widgetRatings.get(2L);
assertEquals(WidgetRating.LIKE, gadgetTwo.getScore());
assertEquals(new Long(1), gadgetTwo.getUserId());
assertEquals(new Long(2), gadgetTwo.getEntityId());
}