public AccountTests() { _email = Guid.NewGuid().ToString() + "@test.com"; _managedEmail = Guid.NewGuid().ToString() + "@test.com"; _newEmail = Guid.NewGuid().ToString() + "@test.com"; _client = new StripeClient(Constants.ApiKey); _account = _client.CreateAccount(false, "US", _email); _managedAccount = _client.CreateAccount(true, "US", _managedEmail); }
public AccountTests() { _email = Guid.NewGuid().ToString() + "@test.com"; _managedEmail = Guid.NewGuid().ToString() + "@test.com"; _newEmail = Guid.NewGuid().ToString() + "@test.com"; _client = new StripeClient(Constants.ApiKey); _account = _client.CreateAccount(false, "US", _email); _managedAccount = _client.CreateAccount(true, "US", _managedEmail); }
public void CreateAccount_Test() { dynamic response = _client.CreateAccount(false, "US", _newEmail); Assert.NotNull(response); Assert.False(response.IsError); }