public void Password_InvalidLength() { PropertyCheck password = new PropertyCheck("Afghj"); LengthCheck length = new LengthCheck(); bool result = length.checkPassword(password); Assert.AreEqual(false, result); }
public void Password_Valid() { PropertyCheck password = new PropertyCheck("Al1@sdfghj"); LengthCheck length = new LengthCheck(); bool result = length.checkPassword(password); Assert.AreEqual(true, result); }