Beispiel #1
0
        public void IsIdentifiedByEmailFailure()
        {
            User user = new User() { Email = "*****@*****.**", PasswordHash = "Xpto123" };

            Assert.IsFalse(user.IsIdentifiedByEmail("*****@*****.**"));
        }
Beispiel #2
0
        public void IsIdentifiedByEmailSuccess()
        {
            User user = new User() { Email = "*****@*****.**", PasswordHash = "Xpto123" };

            Assert.IsTrue(user.IsIdentifiedByEmail("*****@*****.**"));
        }