code: func (l *State) SetServiceState(s *ServiceState) {
  	l.Lock()
  	defer l.Unlock()
  
  	l.setServiceStateLocked(s)
  }
docs: // SetServiceState is used to overwrite a raw service state with the given
  // state. This method is safe to be called concurrently but should only be used
  // during testing. You should most likely call AddService instead.