Exemple #1
0
 public void RegisterScopeIsInvalidWhenUsernameIsNull()
 {
     var user = new User("*****@*****.**", "", "123456");
     Assert.AreEqual(false, user.RegisterScopeIsValid());
 }
Exemple #2
0
 public void RegisterScopeIsValid()
 {
     var user = new User("*****@*****.**", "andrebaltieri", "123456");
     Assert.AreEqual(true, user.RegisterScopeIsValid());
 }