func (u *MockUser) MspID() string {
	return u.mspID
}
MspID returns the MSP for this user
package mocks
import (
	"github.com/hyperledger/fabric-sdk-go/api/apicryptosuite"
)
type MockUser struct {
	name                  string
	mspID                 string
	roles                 []string
	privateKey            apicryptosuite.Key
	enrollmentCertificate []byte
}
func NewMockUser(name string) *MockUser {
	return &MockUser{name: name}
}
func (u *MockUser) Name() string {
	return u.name
}
func (u *MockUser) Roles() []string {
	return u.roles
}
func (u *MockUser) SetRoles(roles []string) {
	u.roles = roles
}
func (u *MockUser) EnrollmentCertificate() []byte {
	return u.enrollmentCertificate
}
func (u *MockUser) SetEnrollmentCertificate(cert []byte) {
	u.enrollmentCertificate = cert
}
func (u *MockUser) SetPrivateKey(privateKey apicryptosuite.Key) {
	u.privateKey = privateKey
}
func (u *MockUser) PrivateKey() apicryptosuite.Key {
	return u.privateKey
}
func (u *MockUser) SetMspID(mspID string) {
	u.mspID = mspID
}