@Test public void shouldFinalize() throws Exception { AnnualFacilityEstimateEntry estimate = make(an(AnnualFacilityEstimateBuilder.defaultAnnualFacilityEstimateEntry)); repository.finalizeEstimate(estimate); verify(mapper).finalizeEstimate(estimate); }
public Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate){ return mapper.finalizeEstimate(estimate); }
AnnualFacilityEstimateRepository { public Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate){ return mapper.finalizeEstimate(estimate); } }
AnnualFacilityEstimateRepository { public Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate){ return mapper.finalizeEstimate(estimate); }  }
AnnualFacilityEstimateRepository { public Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate){ return mapper.finalizeEstimate(estimate); }  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 Integer finalizeEstimate(AnnualFacilityEstimateEntry estimate){ return mapper.finalizeEstimate(estimate); }  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);  }