code: func (_m *ChannelResponse) Config() (*discovery.ConfigResult, error) {
  	ret := _m.Called()
  
  	var r0 *discovery.ConfigResult
  	if rf, ok := ret.Get(0).(func() *discovery.ConfigResult); ok {
  		r0 = rf()
  	} else {
  		if ret.Get(0) != nil {
  			r0 = ret.Get(0).(*discovery.ConfigResult)
  		}
  	}
  
  	var r1 error
  	if rf, ok := ret.Get(1).(func() error); ok {
  		r1 = rf()
  	} else {
  		r1 = ret.Error(1)
  	}
  
  	return r0, r1
  }
docs: // Config provides a mock function with given fields: