public void UpgradeMembershipAndSendEmail_Test()
        {
            PaymentDetailsDto paymentDetailsDto = new PaymentDetailsDto();

            paymentDetailsDto.ProductType   = ProductEnum.UpgradeMembership;
            paymentDetailsDto.MembershipDto = new MembershipDto
            {
                MembershipId   = 10001,
                MembershipName = "Prime Membership"
            };
            paymentDetailsDto.CustomerDto = new CustomerDto
            {
                CustomerEmail = "*****@*****.**",
                CustomerId    = 120,
                CustomerName  = "Vithal Deshpande"
            };
            IAction upgradeMemberShip = new MemberShipUpgradation(paymentDetailsDto);
            string  result            = upgradeMemberShip.DoProcess();

            Assert.IsNotNull(result);

            IAction emailService       = new EmailService(paymentDetailsDto);
            string  emailServiceResult = emailService.DoProcess();

            Assert.IsNotNull(emailServiceResult);
        }
        public void UpgradeMembership_Test()
        {
            PaymentDetailsDto paymentDetailsDto = new PaymentDetailsDto();

            paymentDetailsDto.ProductType   = ProductEnum.UpgradeMembership;
            paymentDetailsDto.MembershipDto = new MembershipDto
            {
                MembershipId   = 10001,
                MembershipName = "Prime Membership"
            };

            IAction upgradeMemberShip = new MemberShipUpgradation(paymentDetailsDto);
            string  result            = upgradeMemberShip.DoProcess();

            Assert.IsNotNull(result);
        }