public void RuleNotMatch() { var phyproduct = new UpgradeMembership(); var result = phyproduct.Handle("Failure"); // Assert Assert.AreNotEqual("Apply the upgrade\n", result); }
public void ValidateRules() { var upmembership = new UpgradeMembership(); var result = upmembership.Handle("upgrade"); // Assert Assert.AreEqual("Apply the upgrade\n", result); }