public async void RetrieveIngestsTest() { List <Ingest> ingests = await twixel.RetrieveIngests(); Ingest newYork = ingests.FirstOrDefault((ingest) => ingest.name == "US East: New York, NY"); Assert.NotNull(newYork); }
public async void RetrieveIngestsTest() { List <Ingest> ingests = await twixel.RetrieveIngests(); Ingest newYork = null; foreach (Ingest ingest in ingests) { if (ingest.name == "US East: New York, NY") { newYork = ingest; break; } } Assert.NotNull(newYork); }