Пример #1
0
 private void ValidateEmptyNumber()
 {
     if (CountryHandler.ValidateIsEmptyByCountry(txtNumberPhone.Text))
     {
         SetMessage("Debe ingresar un número de movil.");
     }
     else
     {
         string TextOfPhone = txtNumberPhone.Text;
         TextOfPhone = TextOfPhone.Replace(" ", "");
         ValidateNumberFormat(TextOfPhone);
     }
 }
Пример #2
0
 public void ValidateIsEmptyByCountryUruguay()
 {
     Assert.AreEqual(true, Uruguay.ValidateIsEmptyByCountry(""));
 }
Пример #3
0
 public void ValidateIsEmptyByCountryArgentina()
 {
     Assert.AreEqual(true, Argentina.ValidateIsEmptyByCountry(""));
 }