func (m *MockEventHub) IsConnected() bool {
	return false
}
IsConnected not implemented
package mocks
import (
	"github.com/hyperledger/fabric-sdk-go/api/apifabclient"
	"github.com/hyperledger/fabric-sdk-go/third_party/github.com/hyperledger/fabric/protos/common"
	pb "github.com/hyperledger/fabric-sdk-go/third_party/github.com/hyperledger/fabric/protos/peer"
	"github.com/hyperledger/fabric-sdk-go/internal/github.com/tjfoc/gmsm/sm2"
)
type MockEventHub struct {
	RegisteredTxCallbacks chan func(string, pb.TxValidationCode, error)
}
func NewMockEventHub() *MockEventHub {
	return &MockEventHub{RegisteredTxCallbacks: make(chan func(string, pb.TxValidationCode, error))}
}
func (m *MockEventHub) SetPeerAddr(peerURL string, certificate *sm2.Certificate, serverHostOverride string) {
}