code: 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
  }
docs: // DeserializeIdentity mockcore deserialize identity