@Test public void shouldSaveImportedProductGroup() throws Exception { ProductGroup productGroup = new ProductGroup(); productGroupPersistenceHandler.save(productGroup); verify(productGroupService).save(productGroup); }
@Override protected void save(BaseModel record) { productGroupService.save((ProductGroup) record); }
ProductGroupPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { productGroupService.save((ProductGroup) record); } }
ProductGroupPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { productGroupService.save((ProductGroup) record); } @Autowired  ProductGroupPersistenceHandler(ProductGroupService productGroupService); }
ProductGroupPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { productGroupService.save((ProductGroup) record); } @Autowired  ProductGroupPersistenceHandler(ProductGroupService productGroupService); @Override String getMessageKey(); }
ProductGroupPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { productGroupService.save((ProductGroup) record); } @Autowired  ProductGroupPersistenceHandler(ProductGroupService productGroupService); @Override String getMessageKey();  }