public void TestSetExcludePaymentMethodDefaultConfigurationNoExcluded()
        {
            PayPagePayment payPagePayment = WebpayConnection.CreateOrder(SveaConfig.GetDefaultConfig())
                                                            .UsePayPage()
                                                            .ExcludePaymentMethod();
            payPagePayment.IncludePaymentMethod();

            Assert.That(payPagePayment.GetExcludedPaymentMethod().Count, Is.EqualTo(23));
            Assert.That(payPagePayment.GetIncludedPaymentMethod().Count, Is.EqualTo(0));
        }
        public void TestExcludeDirectPaymentMethodSmall()
        {
            PayPagePayment payPagePayment = WebpayConnection.CreateOrder(SveaConfig.GetDefaultConfig())
                                            .SetCountryCode(TestingTool.DefaultTestCountryCode)
                                            .UsePayPage()
                                            .ExcludeDirectPaymentMethod();

            Assert.That(payPagePayment.GetExcludedPaymentMethod().Count, Is.EqualTo(6));
            Assert.That(payPagePayment.GetIncludedPaymentMethod().Count, Is.EqualTo(0));
        }
        public void TestIncludeCardPaymentMethod()
        {
            var includedPaymentMethod = new List<PaymentMethod> {PaymentMethod.KORTCERT, PaymentMethod.SKRILL};
            PayPagePayment payPagePayment = WebpayConnection.CreateOrder(SveaConfig.GetDefaultConfig())
                                                            .SetCountryCode(TestingTool.DefaultTestCountryCode)
                                                            .UsePayPage()
                                                            .IncludePaymentMethod(includedPaymentMethod);

            Assert.That(payPagePayment.GetIncludedPaymentMethod().Count, Is.EqualTo(2));
        }