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