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