@Test public void shouldGetNonFullSupplyFacilityApprovedProducts() { repository.getNonFullSupplyProductsByFacilityAndProgram(5L, 8L); verify(mapper).getNonFullSupplyProductsBy(5L, 8L); }
public List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId) { return mapper.getNonFullSupplyProductsBy(facilityId, programId); }
FacilityApprovedProductRepository { public List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId) { return mapper.getNonFullSupplyProductsBy(facilityId, programId); } }
FacilityApprovedProductRepository { public List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId) { return mapper.getNonFullSupplyProductsBy(facilityId, programId); }  }
FacilityApprovedProductRepository { public List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId) { return mapper.getNonFullSupplyProductsBy(facilityId, programId); }  List<FacilityTypeApprovedProduct> getFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId); List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId); void insert(FacilityTypeApprovedProduct facilityTypeApprovedProduct); void update(FacilityTypeApprovedProduct facilityTypeApprovedProduct); FacilityTypeApprovedProduct getFacilityApprovedProductByProgramProductAndFacilityTypeCode(
    FacilityTypeApprovedProduct facilityTypeApprovedProduct); List<FacilityTypeApprovedProduct> getAllBy(Long facilityTypeId, Long programId, String searchParam, Pagination pagination); List<FacilityTypeApprovedProduct> getAllByFacilityAndProgramId( Long facilityId, Long programId); Integer getTotalSearchResultCount(Long facilityTypeId, Long programId, String searchParam); void delete(Long id); FacilityTypeApprovedProduct get(Long id); }
FacilityApprovedProductRepository { public List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId) { return mapper.getNonFullSupplyProductsBy(facilityId, programId); }  List<FacilityTypeApprovedProduct> getFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId); List<FacilityTypeApprovedProduct> getNonFullSupplyProductsByFacilityAndProgram(Long facilityId, Long programId); void insert(FacilityTypeApprovedProduct facilityTypeApprovedProduct); void update(FacilityTypeApprovedProduct facilityTypeApprovedProduct); FacilityTypeApprovedProduct getFacilityApprovedProductByProgramProductAndFacilityTypeCode(
    FacilityTypeApprovedProduct facilityTypeApprovedProduct); List<FacilityTypeApprovedProduct> getAllBy(Long facilityTypeId, Long programId, String searchParam, Pagination pagination); List<FacilityTypeApprovedProduct> getAllByFacilityAndProgramId( Long facilityId, Long programId); Integer getTotalSearchResultCount(Long facilityTypeId, Long programId, String searchParam); void delete(Long id); FacilityTypeApprovedProduct get(Long id);  }