@Test (expected = LMISException.class) public void shouldThrowAnExceptionWhenAnOccurredErrorSavingPatientDispensations() throws LMISException { PatientDispensation patientDispensation = createPatientDispensationObject(); PatientDispensation patientDispensation2 = createPatientDispensationObject(); patientDispensationRepository.save(newArrayList(patientDispensation, patientDispensation2)); }
public boolean save(List<PatientDispensation> patientDispensations) throws LMISException { return patientDispensationGenericDao.create(patientDispensations); }
PatientDispensationRepository { public boolean save(List<PatientDispensation> patientDispensations) throws LMISException { return patientDispensationGenericDao.create(patientDispensations); } }
PatientDispensationRepository { public boolean save(List<PatientDispensation> patientDispensations) throws LMISException { return patientDispensationGenericDao.create(patientDispensations); } @Inject  PatientDispensationRepository(Context context); }
PatientDispensationRepository { public boolean save(List<PatientDispensation> patientDispensations) throws LMISException { return patientDispensationGenericDao.create(patientDispensations); } @Inject  PatientDispensationRepository(Context context); boolean save(List<PatientDispensation> patientDispensations); List<PatientDispensation> getAllByProgramId(final long id); }
PatientDispensationRepository { public boolean save(List<PatientDispensation> patientDispensations) throws LMISException { return patientDispensationGenericDao.create(patientDispensations); } @Inject  PatientDispensationRepository(Context context); boolean save(List<PatientDispensation> patientDispensations); List<PatientDispensation> getAllByProgramId(final long id);  }