public async Task FindNoParams() { player.Play("FindNoParams"); Account current = await client.GetCurrentAccountAsync(); PaginatedAccounts found = await client.FindAccountsAsync(); Assert.Contains(current, found.Accounts); }
public async Task FindWithParams() { player.Play("FindWithParams"); Account current = await client.GetCurrentAccountAsync(); PaginatedAccounts found = await client.FindAccountsAsync(new AccountFindParameters { AccountName = current.AccountName, Order = "created_at", OrderAscDesc = FindParameters.OrderDirection.Desc, PerPage = 5 }); Assert.Contains(current, found.Accounts); }