public async Task Get_all_accounts_in_marketplace_with_success() { // Arrange var request = new AccountRequestMessage { Name = "*****@*****.**", CommissionPercent = 10 }; MarketplaceAccoutsResponse response; // Act using (var client = new MarketPlace()) { response = await client.GetAllSubAccountsAsync().ConfigureAwait(false); } // Assert Assert.That(response, Is.Not.Null); }
public async Task Get_all_accounts_in_marketplace_paggeed_with_success() { // Arrange PaggedResponseMessage <MarketPlaceAccountItem> response; var filter = new QueryStringFilter { MaxResults = 1000, SortBy = new OrderingFilter(FieldSort.AccountName, ResultOrderType.Ascending) }; // Act using (var client = new MarketPlace()) { response = await client.GetAllSubAccountsAsync("74c265aedbfaea379bc0148fae9b5526", filter).ConfigureAwait(false); } // Assert Assert.That(response, Is.Not.Null); }