public async Task ControllerShouldReturnTickets(int id) { var tickets = (await _controller.GetTickets(id)).Value; Assert.NotNull(tickets); Assert.NotEmpty(tickets); foreach (var item in tickets) { Assert.True(item.CurrentPrice > 0); } }
public async Task ControllerShouldReturnTickets(int id) { var tickets = (await _controller.GetTickets(id)).Value; Assert.NotNull(tickets); Assert.NotEmpty(tickets); foreach (var item in tickets) { Assert.True(item.CurrentPrice > 0); } }