func (m *MockMSP) GetType() msp.ProviderType {
	return 0
}
GetType returns the provider type
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 MockMSP struct {
	Err error
}
func NewMockMSP(err error) *MockMSP {
	return &MockMSP{Err: err}
}
func (m *MockMSP) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) {
	if m.Err != nil && m.Err.Error() == "DeserializeIdentity" {
		return nil, m.Err
	}
	return &MockIdentity{Err: m.Err}, nil
}
func (m *MockMSP) IsWellFormed(identity *msp_protos.SerializedIdentity) error {
	return nil
}
func (m *MockMSP) Setup(config *msp_protos.MSPConfig) error {
	return nil
}
func (m *MockMSP) GetMSPs() (map[string]msp.MSP, error) {
	return nil, nil
}
func (m *MockMSP) GetVersion() msp.MSPVersion {
	return 0
}