public async Task GetPrioritiesTestAsync() { var priorities = await client.GetPrioritiesAsync(); Assert.IsTrue(priorities.Count > 0); Assert.IsTrue(priorities.Any(x => x.Id != 0)); Assert.IsTrue(priorities.All(x => !string.IsNullOrEmpty(x.Name))); }
public async Task GetPrioritiesTestAsync() { var priorities = await client.GetPrioritiesAsync(); Assert.IsTrue(priorities.Count > 0); Assert.IsTrue(priorities.Any(x => x.Id != 0)); Assert.IsTrue(priorities.All(x => !string.IsNullOrEmpty(x.Name))); }