HasNoSpaces() protected méthode

protected HasNoSpaces ( string password ) : bool
password string
Résultat bool
Exemple #1
0
 public void HasNoSpaces_HasASpace_ReturnsFalse()
 {
     string password = "******";
     Validator v = new Validator();
     bool hasNoSpaces = v.HasNoSpaces(password);
     Assert.IsFalse(hasNoSpaces);
 }
        public void HasNoSpaces_HasASpace_ReturnsFalse()
        {
            string    password    = "******";
            Validator v           = new Validator();
            bool      hasNoSpaces = v.HasNoSpaces(password);

            Assert.IsFalse(hasNoSpaces);
        }