예제 #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(""));
 }