public void when_deleting_a_refund_transaction() { var stubHttp = HttpMockRepository.At("http://localhost:9191"); stubHttp.Stub(x => x.Delete("/v2/transactions/refunds/321")) .Return(TaxjarFixture.GetJSON("refunds/delete.json")) .OK(); var refund = client.DeleteRefund("321"); this.AssertDeletedRefund(refund); }