Пример #1
0
        public void IsIdentifiedByEmailFailure()
        {
            User user = new User() { Email = "*****@*****.**", PasswordHash = "Xpto123" };

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

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