public void HasSuccessfulPayment_ReturnsCorrectly(SDK.Payment.Models.Payment payment, bool expected)
        {
            var order = new Order
            {
                Payments = new List <SDK.Payment.Models.Payment> {
                    payment
                },
            };

            var actual = order.HasSuccessfulPayment();

            Assert.AreEqual(expected, actual);
        }
        public void IsSuccessfulPayment_ReturnsCorrectly(SDK.Payment.Models.Payment payment, bool expected)
        {
            var actual = payment.IsSuccessfulPayment();

            Assert.AreEqual(expected, actual);
        }