Example #1
0
        public void CheckoutpaymentgatewayGetpaymentGetTest()
        {
            Guid?body     = null;
            var  response = instance.CheckoutpaymentgatewayGetpaymentGet(body);

            Assert.IsInstanceOf <CheckoutPaymentGatewayModelsPaymentResponse>(response, "response is CheckoutPaymentGatewayModelsPaymentResponse");
        }
Example #2
0
        public void CheckoutpaymentgatewayGetpaymentGetTest()
        {
            //TODO: after a payment has been created get the ID from the db and insert it below, then coment out the ignore attribute.
            //NOTE: Please return to this state when development is done so others do not get false negative tests.
            //Guid? body = new Guid("");
            Guid?body     = Guid.NewGuid();
            var  response = instance.CheckoutpaymentgatewayGetpaymentGet(body);

            Assert.IsInstanceOf <CheckoutPaymentGatewayModelsPaymentResponse>(response, "response is CheckoutPaymentGatewayModelsPaymentResponse");
            Assert.IsNotNull(response);
            Assert.IsNotNull(response.Amount);
            Assert.IsNotNull(response.CurrencyCode);
            Assert.IsNotNull(response.FullName);
            Assert.IsNotNull(response.Id);
            Assert.IsNotNull(response.IsSuccessful);
            Assert.IsNotNull(response.RequestDate);
            Assert.IsNotNull(response.IsSuccessful);
        }