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

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

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