func (mgr *MockMSPManager) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) {
	return nil, nil
}
DeserializeIdentity mocks deserialize identity
package mocks
import (
	"github.com/hyperledger/fabric-sdk-go/internal/github.com/hyperledger/fabric/msp"
	msp_protos "github.com/hyperledger/fabric-sdk-go/third_party/github.com/hyperledger/fabric/protos/msp"
)
type MockMSPManager struct {
	MSPs map[string]msp.MSP
	Err  error
}
func NewMockMSPManager(msps map[string]msp.MSP) *MockMSPManager {
	return &MockMSPManager{MSPs: msps}
}
func NewMockMSPManagerWithError(msps map[string]msp.MSP, err error) *MockMSPManager {
	return &MockMSPManager{MSPs: msps, Err: err}
}