示例#1
0
        public void RuleNotMatch()
        {
            var phyproduct = new UpgradeMembership();
            var result     = phyproduct.Handle("Failure");

            // Assert
            Assert.AreNotEqual("Apply the upgrade\n", result);
        }
示例#2
0
        public void ValidateRules()
        {
            var upmembership = new UpgradeMembership();
            var result       = upmembership.Handle("upgrade");

            // Assert
            Assert.AreEqual("Apply the upgrade\n", result);
        }