public void TestIsEmptyValid2() { Books365.BLL.Validator v = new Books365.BLL.Validator(); PasswordBox testPasswordBox = new PasswordBox(); Assert.True(v.IsEmpty(testPasswordBox)); }
public void TestIsEmptyValid1() { Books365.BLL.Validator v = new Books365.BLL.Validator(); TextBox testTextBox = new TextBox(); Assert.True(v.IsEmpty(testTextBox)); }
public void TestIsEmptyInvalid2() { Books365.BLL.Validator v = new Books365.BLL.Validator(); PasswordBox testPasswordBox = new PasswordBox(); testPasswordBox.Password = "******"; Assert.False(v.IsEmpty(testPasswordBox)); }
public void TestIsEmptyIvalid1() { Books365.BLL.Validator v = new Books365.BLL.Validator(); TextBox testTextBox = new TextBox(); testTextBox.Text = "11"; Assert.False(v.IsEmpty(testTextBox)); }