Exemplo n.º 1
0
 public void BusinessRuleTestForUpgradeToLearningForSki()
 {
     Assert.AreEqual(true, BusinessRuleSystem.PaymentProcessingSystem(SubPaymentWay.LearningForSki));
 }
Exemplo n.º 2
0
 public void BusinessRuleTestForUpgradeToMemberShip()
 {
     Assert.AreEqual(true, BusinessRuleSystem.PaymentProcessingSystem(SubPaymentWay.MemeberShip));
 }
Exemplo n.º 3
0
 public void BusinessRuleTestForPhyscialProduct()
 {
     Assert.AreEqual(true, BusinessRuleSystem.PaymentProcessingSystem(SubPaymentWay.PhyscialProdcut));
 }
Exemplo n.º 4
0
 public void BusinessRuleTestForBook()
 {
     Assert.AreEqual(true, BusinessRuleSystem.PaymentProcessingSystem(SubPaymentWay.book));
 }
Exemplo n.º 5
0
 public void BusinessRuleTestForNonPayment()
 {
     Assert.AreEqual(false, BusinessRuleSystem.PaymentProcessingSystem((SubPaymentWay)1));
 }