@Test public void shouldGetByFacilityProgramYearAndCategory() throws Exception { repository.getEntryBy(2005, 2L, 5L, 6L); verify(mapper).getEntryBy(2005, 2L, 5L, 6L); }
public AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId){ return mapper.getEntryBy(year, facilityId, programId, categoryId); }
AnnualFacilityEstimateRepository { public AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId){ return mapper.getEntryBy(year, facilityId, programId, categoryId); } }
AnnualFacilityEstimateRepository { public AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId){ return mapper.getEntryBy(year, facilityId, programId, categoryId); }  }
AnnualFacilityEstimateRepository { public AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId){ return mapper.getEntryBy(year, facilityId, programId, categoryId); }  List<AnnualFacilityEstimateEntry> getFacilityEstimate(Integer year, Long facilityId, Long programId); List<AnnualFacilityEstimateEntry> getFacilityEstimateWithDetails(Integer year, Long facilityId, Long programId); Integer insert(AnnualFacilityEstimateEntry estimate); Integer update(AnnualFacilityEstimateEntry estimate); AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId); List<EstimateFormLineItem> getFacilityList(Long programId, String requsitionGroupIds); Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate); Integer undoFinalize(AnnualFacilityEstimateEntry estimate); }
AnnualFacilityEstimateRepository { public AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId){ return mapper.getEntryBy(year, facilityId, programId, categoryId); }  List<AnnualFacilityEstimateEntry> getFacilityEstimate(Integer year, Long facilityId, Long programId); List<AnnualFacilityEstimateEntry> getFacilityEstimateWithDetails(Integer year, Long facilityId, Long programId); Integer insert(AnnualFacilityEstimateEntry estimate); Integer update(AnnualFacilityEstimateEntry estimate); AnnualFacilityEstimateEntry getEntryBy(Integer year, Long facilityId, Long programId, Long categoryId); List<EstimateFormLineItem> getFacilityList(Long programId, String requsitionGroupIds); Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate); Integer undoFinalize(AnnualFacilityEstimateEntry estimate);  }