@Test public void shouldSaveSupplyLine() { SupplyLine supplyLine = make(a(SupplyLineBuilder.defaultSupplyLine)); supplyLinePersistenceHandler.save(supplyLine); verify(supplyLineService).save(supplyLine); }
@Override protected void save(BaseModel record) { supplyLineService.save((SupplyLine) record); }
SupplyLinePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supplyLineService.save((SupplyLine) record); } }
SupplyLinePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supplyLineService.save((SupplyLine) record); } @Autowired  SupplyLinePersistenceHandler(SupplyLineService supplyLineService); }
SupplyLinePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supplyLineService.save((SupplyLine) record); } @Autowired  SupplyLinePersistenceHandler(SupplyLineService supplyLineService);  }
SupplyLinePersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { supplyLineService.save((SupplyLine) record); } @Autowired  SupplyLinePersistenceHandler(SupplyLineService supplyLineService);   }