### Question:
ReportsService { public List<FacilityCommodityConsumptionRH1ReportItem> getFacilityCommodityConsumptionReportRH1(Category category, String startingYear, String startingMonth, String endingYear, String endingMonth) { ArrayList<FacilityCommodityConsumptionRH1ReportItem> items = new ArrayList<>(); try { Date startingDate = convertToDate(startingYear, startingMonth, true); Date endDate = convertToDate(endingYear, endingMonth, false); category = categoryService.get(category); for (Commodity commodity : category.getCommodities()) { FacilityCommodityConsumptionRH1ReportItem reportItem = new FacilityCommodityConsumptionRH1ReportItem(commodity); reportItem.setValues(getConsumptionValuesForCommodityBetweenDates(commodity, startingDate, endDate)); items.add(reportItem); } } catch (ParseException e) { Log.e("ReportsService", e.getMessage()); } return items; }  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 shouldReturnValuesForEachCommodityInTheCategoryForgetFacilityCommodityConsumptionReportRH1() throws Exception { Category category = categories.get(0); Calendar calendar = Calendar.getInstance(); calendar.set(2014, Calendar.APRIL, 01); Date startDate = calendar.getTime(); calendar.set(2014, Calendar.MAY, 07); Date endDate = calendar.getTime(); List<FacilityCommodityConsumptionRH1ReportItem> facilityStockReportItems = reportsService.getFacilityCommodityConsumptionReportRH1(category, dateFormatYear.format(startDate), dateFormatMonth.format(startDate), dateFormatYear.format(endDate), dateFormatMonth.format(endDate)); assertThat(facilityStockReportItems.size(), is(6)); }