@Test public void shouldGetProgramProductDoses() throws Exception { repository.getProgramProductDoses(2L); verify(mapper).getProgramProductDoses(2L); }
public List<VaccineProductDose> getProgramProductDoses(Long programId) { return mapper.getProgramProductDoses(programId); }
ProductDoseRepository { public List<VaccineProductDose> getProgramProductDoses(Long programId) { return mapper.getProgramProductDoses(programId); } }
ProductDoseRepository { public List<VaccineProductDose> getProgramProductDoses(Long programId) { return mapper.getProgramProductDoses(programId); }  }
ProductDoseRepository { public List<VaccineProductDose> getProgramProductDoses(Long programId) { return mapper.getProgramProductDoses(programId); }  void insert(VaccineProductDose dose); void update(VaccineProductDose dose); List<VaccineProductDose> getDosesForProduct(Long programId, Long productId); List<VaccineDose> getAllDoses(); List<VaccineProductDose> getProgramProductDoses(Long programId); void deleteAllByProgram(Long programId); }
ProductDoseRepository { public List<VaccineProductDose> getProgramProductDoses(Long programId) { return mapper.getProgramProductDoses(programId); }  void insert(VaccineProductDose dose); void update(VaccineProductDose dose); List<VaccineProductDose> getDosesForProduct(Long programId, Long productId); List<VaccineDose> getAllDoses(); List<VaccineProductDose> getProgramProductDoses(Long programId); void deleteAllByProgram(Long programId);  }