public void Init()
 {
     _args = GenFu.GenFu.New<CustomerBankAccountCreateArguments>();
 }
 public async Task<StripeResponse<BankAccount>> CreateBankAccount(CustomerBankAccountCreateArguments arguments,
     CancellationToken cancellationToken = default(CancellationToken))
 {
     var request = new StripeRequest<CustomerBankAccountCreateArguments, BankAccount>
     {
         UrlPath = PathHelper.GetPath(Paths.Customers, arguments.CustomerId, Paths.Sources),
         Model = arguments
     };
     return await _client.Post(request, cancellationToken);
 }
        public async Task CreateBankAccountTest()
        {
            // Arrange
            var args = new CustomerBankAccountCreateArguments
            {
                CustomerId = "customer-id"
            };
            _stripe.Post(
                Arg.Is<StripeRequest<CustomerBankAccountCreateArguments, BankAccount>>(
                    a => a.UrlPath == "customers/" + args.CustomerId + "/sources" && a.Model == args),
                _cancellationToken).Returns(Task.FromResult(new StripeResponse<BankAccount>()));

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

            // Assert
            response.Should().NotBeNull();
        }