public async Task Charge_Async_Authorization_Transaction() { var expectedResult = GetCharge(captured: false); StubRequest(HttpMethod.Post, BasePath, HttpStatusCode.OK, expectedResult.ToJson()); var result = await service.ChargeAsync(GetChargeRequest(capture : false), GetTestRequestOptions()); AssertRequest(HttpMethod.Post, BasePath); Assert.Equal(expectedResult.ToJson(), result.ToJson()); }