public void RuleNotMatch() { var phyproduct = new CommissionPayment(); var result = phyproduct.Handle("Failure"); // Assert Assert.AreNotEqual("Generate a commission payment to the agent", result); }
public void ValidateRules() { var comptm = new CommissionPayment(); var result = comptm.Handle("commission"); // Assert Assert.AreEqual("Generate a commission payment to the agent", result); }