public void TestConfirmPwdInvalid2() { Books365.BLL.Validator v = new Books365.BLL.Validator(); PasswordBox testPasswordBox1 = new PasswordBox(); PasswordBox testPasswordBox2 = new PasswordBox(); testPasswordBox1.Password = "******"; testPasswordBox2.Password = "******"; Assert.False(v.ConfirmIsSame(testPasswordBox1, testPasswordBox2)); }
public void TestonfirmPwdIvalid1() { Books365.BLL.Validator v = new Books365.BLL.Validator(); TextBox testTextBox1 = new TextBox(); TextBox testTextBox2 = new TextBox(); testTextBox1.Text = "password"; testTextBox1.Text = "pas$$ord"; Assert.False(v.ConfirmIsSame(testTextBox1, testTextBox2)); }