code: func (_m *PluginMapper) PluginFactoryByName(name txvalidator.PluginName) validation.PluginFactory {
  	ret := _m.Called(name)
  
  	var r0 validation.PluginFactory
  	if rf, ok := ret.Get(0).(func(txvalidator.PluginName) validation.PluginFactory); ok {
  		r0 = rf(name)
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(validation.PluginFactory)
  		}
  	}
  
  	return r0
  }
docs: // PluginFactoryByName provides a mock function with given fields: name