public void Validation_CheckLengthGreaterThan8_ReturnLengthShort() { string expected = "Password Length is too short"; string passwd = "helloo"; string confirmpwd = "helloo"; string actual = obj.PasswordValidation(passwd, confirmpwd); Assert.AreEqual(expected, actual); }