@Test public void shouldSaveSupervisoryNode() throws Exception { SupervisoryNode supervisoryNode = new SupervisoryNode(); new SupervisoryNodeHandler(supervisoryNodeService).save(supervisoryNode); verify(supervisoryNodeService).save(supervisoryNode); }
@Override protected void save(BaseModel record) { supervisoryNodeService.save((SupervisoryNode) record); }
SupervisoryNodeHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supervisoryNodeService.save((SupervisoryNode) record); } }
SupervisoryNodeHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supervisoryNodeService.save((SupervisoryNode) record); } @Autowired  SupervisoryNodeHandler(SupervisoryNodeService supervisoryNodeService); }
SupervisoryNodeHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supervisoryNodeService.save((SupervisoryNode) record); } @Autowired  SupervisoryNodeHandler(SupervisoryNodeService supervisoryNodeService); @Override String getMessageKey(); }
SupervisoryNodeHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supervisoryNodeService.save((SupervisoryNode) record); } @Autowired  SupervisoryNodeHandler(SupervisoryNodeService supervisoryNodeService); @Override String getMessageKey();  }