public void IsIdentifiedByEmailFailure() { User user = new User() { Email = "*****@*****.**", PasswordHash = "Xpto123" }; Assert.IsFalse(user.IsIdentifiedByEmail("*****@*****.**")); }
public void IsIdentifiedByEmailSuccess() { User user = new User() { Email = "*****@*****.**", PasswordHash = "Xpto123" }; Assert.IsTrue(user.IsIdentifiedByEmail("*****@*****.**")); }