public void EmailNoMatch() { var edit = new UserEditSecurity(); edit.NewEmail = "blah"; edit.NewEmailRetype = "bloidsvosah"; Assert.IsFalse(edit.NewEmailsMatch()); }
public void EmailMatch() { var edit = new UserEditSecurity(); edit.NewEmail = "blah"; edit.NewEmailRetype = "blah"; Assert.IsTrue(edit.NewEmailsMatch()); }