public async Task FindNoParams() { player.Play("FindNoParams"); Contact current = await client.GetCurrentContactAsync(); PaginatedContacts found = await client.FindContactsAsync(); Assert.Contains(current, found.Contacts); }
public async Task FindWithParams() { player.Play("FindWithParams"); Contact current = await client.GetCurrentContactAsync(); PaginatedContacts found = await client.FindContactsAsync(new ContactFindParameters { LoginId = current.LoginId, Order = "created_at", OrderAscDesc = FindParameters.OrderDirection.Desc, PerPage = 5 }); Assert.Contains(current, found.Contacts); }