public void CheckEmptyFieldsTest_WrongString_ReturnFalse() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = ""; string s2 = ""; string s3 = ""; factResult = dataValidation.CheckEmptyFields(s1, s2, s3); Assert.IsFalse(factResult); }
public void CheckEmptyFieldsTest_CorrectString_ReturnTrue() { DataValidation dataValidation = new DataValidation(); bool factResult; string s1 = "qwerty"; string s2 = "123456"; string s3 = "123456"; factResult = dataValidation.CheckEmptyFields(s1, s2, s3); Assert.IsTrue(factResult); }