### Question:
ReportsService { public List<MonthlyVaccineUtilizationReportItem> getMonthlyVaccineUtilizationReportItems( Category category, String year, String month, boolean isForDevices) { ArrayList<MonthlyVaccineUtilizationReportItem> reportItems = new ArrayList<>(); try { Date date = convertToDate(year, month, true); Calendar calendar = Calendar.getInstance(); calendar.setTime(date); category = categoryService.get(category); for (Commodity commodity : category.getCommodities()) { if (isForDevices && !commodity.isDevice() || !isForDevices && commodity.isDevice()) { continue; } List<UtilizationItem> utilizationItems = commodityService.getMonthlyUtilizationItems(commodity, date); MonthlyVaccineUtilizationReportItem monthlyVaccineUtilizationReportItem = new MonthlyVaccineUtilizationReportItem(commodity.getName(), utilizationItems); reportItems.add(monthlyVaccineUtilizationReportItem); } } catch (Exception e) { Log.e("ReportsService", e.getMessage()); } return reportItems; }  List<FacilityStockReportItem> getFacilityReportItemsForCategory(
            Category category, String startingYear, String startingMonth, String endingYear, String endingMonth); List<FacilityCommodityConsumptionRH1ReportItem> getFacilityCommodityConsumptionReportRH1(Category category, String startingYear,
                                                                                                    String startingMonth, String endingYear, String endingMonth); List<DateTime> getDays(Date start, Date stop); List<Integer> getDayNumbers(Date startDate, Date endDate); List<FacilityConsumptionReportRH2Item> getFacilityConsumptionReportRH2Items(Category category, String startingYear, String startingMonth, String endingYear, String endingMonth); Date convertToDate(String year, String month, boolean isStartingDate); List<MonthlyVaccineUtilizationReportItem> getMonthlyVaccineUtilizationReportItems(
            Category category, String year, String month, boolean isForDevices); BinCard generateBinCard(Commodity commodity);  }### Answer:
@Test public void shouldReturnCorrectNumberOfMonthlyVaccineUtilizationReportItems() throws Exception { Category category = categories.get(0); Calendar calendar = Calendar.getInstance(); calendar.set(2014, Calendar.APRIL, 01); Date date = calendar.getTime(); List<MonthlyVaccineUtilizationReportItem> reportItems = reportsService.getMonthlyVaccineUtilizationReportItems(category, dateFormatYear.format(date), dateFormatMonth.format(date), false); int expectedSize = category.getCommodities().size(); assertThat(reportItems.size(), is(expectedSize)); }