code: func NewMockConfig(channelID string, policy fab.EventServicePolicy) *fabmocks.MockConfig {
  	config := &fabmocks.MockConfig{}
  	config.SetCustomChannelConfig(channelID, &fab.ChannelEndpointConfig{
  		Policies: fab.ChannelPolicies{
  			EventService: policy,
  		},
  	})
  	return config
  }
docs: // NewMockConfig returns a mock endpoint config with the given event service policy for the given channel