public void ECSetExpressCheckoutCodeTest()
        {
            string paymentAmount = new Decimal(1.0).ToString();
            string returnUrl = "http://vergencemedia.com/";
            string cancelUrl = "http://vergencemedia.com/";
            PaymentActionCodeType paymentAction = PaymentActionCodeType.Sale;
            CurrencyCodeType currencyCode = CurrencyCodeType.USD;
            var ppProcessor = new PayPalProcessorAccessor();

            var result = ppProcessor.ECSetExpressCheckoutCode(paymentAmount, returnUrl, cancelUrl, paymentAction, currencyCode);

            Assert.AreEqual(AckCodeType.Success, result.Ack, "The ack was {0}. Error: {1}", result.Ack,
                (result.Errors != null && result.Errors.Length > 0) ? result.Errors[0].ErrorCode + " " + result.Errors[0].LongMessage : "");
            Assert.IsNotNullOrEmpty(result.Token);
        }