public async Task GetAllAsync_WhenCalled_ShouldGetAllTickets() { var results = await _resource.GetAllAsync(); Assert.Equal(100, results.Count); for (var i = 1; i <= 100; i++) { var ticket = results.ElementAt(i - 1); Assert.Equal(i, ticket.Id); Assert.Equal($"My printer is on fire! {i}", ticket.Subject); Assert.Equal(i.ToString(), ticket.ExternalId); Assert.Equal(i, ticket.OrganisationId); Assert.Equal(i, ticket.RequesterId); Assert.Equal(i, ticket.AssigneeId); } }