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

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

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