public void TestUpgradeMembership() { object inputs = string.Empty; IPaymanentOrderProcessing orderProcessing = Helper(PaymentProductType.MembershipUpgrade, RuleEngineType.UpgradeMembership, inputs); object actual = orderProcessing.Run(); object expected = "Membership Upgraded"; Assert.AreEqual(expected, actual); }
public void TestLearningSki() { object inputs = string.Empty; IPaymanentOrderProcessing orderProcessing = Helper(PaymentProductType.VideoLearning, RuleEngineType.LearningToSki, inputs); object actual = orderProcessing.Run(); object expected = "Added free First Aid video to the packing slip"; Assert.AreEqual(expected, actual); }
public void TestGenerateDuplicatePackSlip() { object inputs = string.Empty; IPaymanentOrderProcessing orderProcessing = Helper(PaymentProductType.PhysicalProduct, RuleEngineType.GenerateDuplicatePackSlip, inputs); object actual = orderProcessing.Run(); object expected = "Duplicate Packing Slip for Shipping is "; Assert.AreEqual(expected, actual); }