@Test public void shouldSaveRequisitionGroupWithModifiedByAndModifiedDateSet() throws Exception { RequisitionGroup requisitionGroup = new RequisitionGroup(); requisitionGroup.setModifiedBy(USER); requisitionGroupHandler.save(requisitionGroup); verify(requisitionGroupService).save(requisitionGroup); }
@Override protected void save(BaseModel record) { requisitionGroupService.save((RequisitionGroup) record); }
RequisitionGroupHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { requisitionGroupService.save((RequisitionGroup) record); } }
RequisitionGroupHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { requisitionGroupService.save((RequisitionGroup) record); } @Autowired  RequisitionGroupHandler(RequisitionGroupService requisitionGroupService); }
RequisitionGroupHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { requisitionGroupService.save((RequisitionGroup) record); } @Autowired  RequisitionGroupHandler(RequisitionGroupService requisitionGroupService); @Override String getMessageKey(); }
RequisitionGroupHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { requisitionGroupService.save((RequisitionGroup) record); } @Autowired  RequisitionGroupHandler(RequisitionGroupService requisitionGroupService); @Override String getMessageKey();  }