public async Task<StripeResponse<Transfer>> UpdateTransfer(TransferUpdateArguments arguments,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     var request = new StripeRequest<TransferUpdateArguments, Transfer>
     {
         UrlPath = PathHelper.GetPath(Paths.Transfers, arguments.TransferId),
         Model = arguments
     };
     return await _client.Post(request, cancellationToken);
 }
        public async Task UpdateTransferTest()
        {
            // Arrange
            var args = new TransferUpdateArguments
            {
                TransferId = "transfer-id"
            };
            _stripe.Post(
                Arg.Is<StripeRequest<TransferUpdateArguments, Transfer>>(
                    a => a.UrlPath == "transfers/" + args.TransferId && a.Model == args), _cancellationToken)
                .Returns(Task.FromResult(new StripeResponse<Transfer>()));

            // Act
            var response = await _client.UpdateTransfer(args, _cancellationToken);

            // Assert
            response.Should().NotBeNull();
        }
 public void Init()
 {
     _args = GenFu.GenFu.New<TransferUpdateArguments>();
 }