@Test public void shouldGetAllDoses() throws Exception{ repository.getAllDoses(); verify(mapper).getAllDoses(); }
public List<VaccineDose> getAllDoses(){ return mapper.getAllDoses(); }
ProductDoseRepository { public List<VaccineDose> getAllDoses(){ return mapper.getAllDoses(); } }
ProductDoseRepository { public List<VaccineDose> getAllDoses(){ return mapper.getAllDoses(); }  }
ProductDoseRepository { public List<VaccineDose> getAllDoses(){ return mapper.getAllDoses(); }  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<VaccineDose> getAllDoses(){ return mapper.getAllDoses(); }  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);  }