Exemplo n.º 1
0
        public void Email()
        {
            int      intupgreadeEmail = BRE_Paytypes.VariationPayment.upgreadeEmail.GetHashCode();
            IPaytype ObjPay           = CreatingPaymentObjects(intupgreadeEmail);
            bool     testResult       = ObjPay.ActivatePayment();

            Assert.AreEqual(testResult, true);
        }
Exemplo n.º 2
0
        public void PhysicalProducts()
        {
            int      intphysicalproduct = BRE_Paytypes.VariationPayment.physicalproduct.GetHashCode();
            IPaytype ObjPay             = CreatingPaymentObjects(intphysicalproduct);
            bool     testResult         = ObjPay.ActivatePayment();

            Assert.AreEqual(testResult, true);
        }
Exemplo n.º 3
0
        public void RoyaltyBook()
        {
            int      intBook    = BRE_Paytypes.VariationPayment.book.GetHashCode();
            IPaytype ObjPay     = CreatingPaymentObjects(intBook);
            bool     testResult = ObjPay.ActivatePayment();

            Assert.AreEqual(testResult, true);
        }
Exemplo n.º 4
0
        public void MembershipUpgration()
        {
            int      intUpgradation = BRE_Paytypes.VariationPayment.upgradation.GetHashCode();
            IPaytype ObjPay         = CreatingPaymentObjects(intUpgradation);
            bool     testResult     = ObjPay.ActivatePayment();

            Assert.AreEqual(testResult, true);
        }
Exemplo n.º 5
0
        public void VideoLearningKit()
        {
            int      intVideLearningKit = BRE_Paytypes.VariationPayment.firstaidvideo.GetHashCode();
            IPaytype ObjPay             = CreatingPaymentObjects(intVideLearningKit);
            bool     testResult         = ObjPay.ActivatePayment();

            Assert.AreEqual(testResult, true);
        }
Exemplo n.º 6
0
        static void FinalDetails(int intPay)
        {
            IPaytype FinalDet = BRE_Paytypes.CreatingPaymentObjects(intPay);

            if (FinalDet == null)
            {
                Console.WriteLine("Not Correct selection");
            }
            else
            {
                FinalDet.ActivatePayment();
            }
        }