code: func NewPluginValidator(pm PluginMapper, qec QueryExecutorCreator, deserializer msp.IdentityDeserializer, capabilities Capabilities) *PluginValidator {
  	return &PluginValidator{
  		capabilities:         capabilities,
  		pluginChannelMapping: make(map[PluginName]*pluginsByChannel),
  		PluginMapper:         pm,
  		QueryExecutorCreator: qec,
  		IdentityDeserializer: deserializer,
  	}
  }
docs: //go:generate mockery -dir ../../handlers/validation/api/capabilities/ -name Capabilities -case underscore -output mocks/
  //go:generate mockery -dir ../../../msp/ -name IdentityDeserializer -case underscore -output mocks/
  // NewPluginValidator creates a new PluginValidator