code: func (id *MockIdentity) Validate() error {
  	if id.Err != nil && id.Err.Error() == "Validate" {
  		return id.Err
  	}
  	return nil
  }
docs: // Validate returns nil if this instance is a valid identity or an error otherwise