public void ShouldResetErrors()
 {
     var errors = new ErrorMessageStringCollection();
     errors.Add("Name", "Name can't be blank");
     errors.Clear("Name");
     Assert.IsFalse(errors.HasErrors);
 }
 public void ShouldClearMessagesWithKey()
 {
     var errors = new ErrorMessageStringCollection();
     errors.Add("Name", "Name can't be blank");
     errors.Add("Name", "Name can't be empty");
     errors.Clear("Name");
     Assert.IsNull(errors["Name"]);
 }