@Test
public void getAllWidgetStatistics() {
Map<Long, WidgetStatistics> widgetStatistics = repository.getAllWidgetStatistics(1L);
WidgetStatistics gadgetOne = widgetStatistics.get(1L);
assertEquals(0, gadgetOne.getTotalLike());
assertEquals(1, gadgetOne.getTotalDislike());
assertEquals(0, gadgetOne.getUserRating());
assertEquals(10, gadgetOne.getTotalUserCount());
WidgetStatistics gadgetTwo = widgetStatistics.get(2L);
assertEquals(1, gadgetTwo.getTotalLike());
assertEquals(0, gadgetTwo.getTotalDislike());
assertEquals(10, gadgetTwo.getUserRating());
assertEquals(10, gadgetOne.getTotalUserCount());
}