code: func NewMockDiscoveryProvider(err error, peers []fab.Peer) (*MockStaticDiscoveryProvider, error) {
  	return &MockStaticDiscoveryProvider{Error: err, Peers: peers}, nil
  }
docs: // NewMockDiscoveryProvider returns mock discovery provider