public void RelatedResourcesObjectTest()
        {
            var resources = GetRelatedResources();

            Assert.AreEqual(resources.authorization.id, AuthorizationTest.GetAuthorization().id);
            Assert.AreEqual(resources.sale.id, SaleTest.GetSale().id);
            Assert.AreEqual(resources.refund.id, RefundTest.GetRefund().id);
            Assert.AreEqual(resources.capture.id, CaptureTest.GetCapture().id);
        }
        public static RelatedResources GetRelatedResources()
        {
            RelatedResources resources = new RelatedResources();

            resources.authorization = AuthorizationTest.GetAuthorization();
            resources.capture       = CaptureTest.GetCapture();
            resources.refund        = RefundTest.GetRefund();
            resources.sale          = SaleTest.GetSale();
            resources.order         = OrderTest.GetOrder();
            return(resources);
        }