@Test (expected = LMISException.class) public void shouldThrowExceptionSavingPTVProgramStocksInformationWhenPTVProgramDoNotExist() throws LMISException { PTVProgramStockInformation ptvProgramStockInformation = new PTVProgramStockInformation(); PTVProgramStockInformation ptvProgramStockInformation2 = new PTVProgramStockInformation(); List<PTVProgramStockInformation> ptvProgramStocksInformation = newArrayList(ptvProgramStockInformation, ptvProgramStockInformation2); ptvProgramStockInformationRepository.save(ptvProgramStocksInformation); }
public boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation) throws LMISException { return genericDao.create(ptvProgramStocksInformation); }
PTVProgramStockInformationRepository { public boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation) throws LMISException { return genericDao.create(ptvProgramStocksInformation); } }
PTVProgramStockInformationRepository { public boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation) throws LMISException { return genericDao.create(ptvProgramStocksInformation); } @Inject  PTVProgramStockInformationRepository(Context context); }
PTVProgramStockInformationRepository { public boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation) throws LMISException { return genericDao.create(ptvProgramStocksInformation); } @Inject  PTVProgramStockInformationRepository(Context context); boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation); }
PTVProgramStockInformationRepository { public boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation) throws LMISException { return genericDao.create(ptvProgramStocksInformation); } @Inject  PTVProgramStockInformationRepository(Context context); boolean save(List<PTVProgramStockInformation> ptvProgramStocksInformation);  }