code: func (m MockContext) Serialize() ([]byte, error) {
  	if m.SigningIdentity == nil {
  		return nil, errors.New("anonymous countext")
  	}
  	return m.SigningIdentity.Serialize()
  }
docs: // Serialize converts an identity to bytes