@Test (expected = LMISException.class) public void shouldThrowExceptionTryingToSaveServiceDispensationsWhenForeignObjectsAreNull() throws Exception { ServiceDispensation serviceDispensation = new ServiceDispensation(); ServiceDispensation serviceDispensation2 = new ServiceDispensation(); serviceDispensationRepository.save(newArrayList(serviceDispensation, serviceDispensation2)); }
public boolean save(ArrayList<ServiceDispensation> serviceDispensations) throws LMISException { return genericDao.create(serviceDispensations); }
ServiceDispensationRepository { public boolean save(ArrayList<ServiceDispensation> serviceDispensations) throws LMISException { return genericDao.create(serviceDispensations); } }
ServiceDispensationRepository { public boolean save(ArrayList<ServiceDispensation> serviceDispensations) throws LMISException { return genericDao.create(serviceDispensations); } @Inject  ServiceDispensationRepository(Context context); }
ServiceDispensationRepository { public boolean save(ArrayList<ServiceDispensation> serviceDispensations) throws LMISException { return genericDao.create(serviceDispensations); } @Inject  ServiceDispensationRepository(Context context); boolean save(ArrayList<ServiceDispensation> serviceDispensations); }
ServiceDispensationRepository { public boolean save(ArrayList<ServiceDispensation> serviceDispensations) throws LMISException { return genericDao.create(serviceDispensations); } @Inject  ServiceDispensationRepository(Context context); boolean save(ArrayList<ServiceDispensation> serviceDispensations);  }