code: func (cm *ClientManager) Validate() error {
  	var errs []error
  	if cm.negotiatedSerializer == nil {
  		errs = append(errs, fmt.Errorf("the clientManager requires a negotiatedSerializer"))
  	}
  	if cm.serviceResolver == nil {
  		errs = append(errs, fmt.Errorf("the clientManager requires a serviceResolver"))
  	}
  	if cm.authInfoResolver == nil {
  		errs = append(errs, fmt.Errorf("the clientManager requires an authInfoResolver"))
  	}
  	return utilerrors.NewAggregate(errs)
  }
docs: // Validate checks if ClientManager is properly set up.