@Test public void shouldInsertProgramProduct() throws Exception { ProgramProduct programProduct = new ProgramProduct(); programProductPersistanceHandler.save(programProduct); verify(programProductService).save(programProduct); }
@Override protected void save(BaseModel record) { programProductService.updateProgramProductPrice((ProgramProductPrice) record); }
ProgramProductPricePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { programProductService.updateProgramProductPrice((ProgramProductPrice) record); } }
ProgramProductPricePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { programProductService.updateProgramProductPrice((ProgramProductPrice) record); } @Autowired  ProgramProductPricePersistenceHandler(ProgramProductService service); }
ProgramProductPricePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { programProductService.updateProgramProductPrice((ProgramProductPrice) record); } @Autowired  ProgramProductPricePersistenceHandler(ProgramProductService service); @Override String getMessageKey(); }
ProgramProductPricePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { programProductService.updateProgramProductPrice((ProgramProductPrice) record); } @Autowired  ProgramProductPricePersistenceHandler(ProgramProductService service); @Override String getMessageKey();  }