@Test public void shouldSaveFacility() { Facility facility = make(a(FacilityBuilder.defaultFacility)); facilityPersistenceHandler.save(facility); verify(facilityService).save(facility); }
@Override protected void save(BaseModel record) { facilityService.save((Facility) record); }
FacilityPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { facilityService.save((Facility) record); } }
FacilityPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { facilityService.save((Facility) record); } @Autowired  FacilityPersistenceHandler(FacilityService facilityService); }
FacilityPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { facilityService.save((Facility) record); } @Autowired  FacilityPersistenceHandler(FacilityService facilityService); @Override void postProcess(AuditFields auditFields); @Override String getMessageKey(); }
FacilityPersistenceHandler extends AbstractModelPersistenceHandler { @Override protected void save(BaseModel record) { facilityService.save((Facility) record); } @Autowired  FacilityPersistenceHandler(FacilityService facilityService); @Override void postProcess(AuditFields auditFields); @Override String getMessageKey();  }