Exemple #1
0
        public void when_showing_a_refund_transaction()
        {
            var stubHttp = HttpMockRepository.At("http://localhost:9191");

            stubHttp.Stub(x => x.Get("/v2/transactions/refunds/321"))
            .Return(TaxjarFixture.GetJSON("refunds/show.json"))
            .OK();

            var refund = client.ShowRefund("321");

            this.AssertRefund(refund);
        }