public async Task UpdateCardTest()
        {
            // Arrange
            var args = new AccountCardUpdateArguments
            {
                CardId = "card-id",
                AccountId = "account-id"
            };
            _stripe.Post(
                Arg.Is<StripeRequest<AccountCardUpdateArguments, Card>>(
                    a => a.UrlPath == "accounts/" + args.AccountId + "/external_accounts/" + args.CardId && a.Model == args),
                _cancellationToken).Returns(Task.FromResult(new StripeResponse<Card>()));

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

            // Assert
            response.Should().NotBeNull();
        }
 public void Init()
 {
     _args = GenFu.GenFu.New<AccountCardUpdateArguments>();
 }
 public async Task<StripeResponse<Card>> UpdateCard(AccountCardUpdateArguments arguments,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     var request = new StripeRequest<AccountCardUpdateArguments, Card>
     {
         UrlPath = PathHelper.GetPath(Paths.Accounts, arguments.AccountId, Paths.ExternalAccounts, arguments.CardId),
         Model = arguments
     };
     return await _client.Post(request, cancellationToken);
 }