Esempio n. 1
0
        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);
        }
Esempio n. 2
0
        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);
        }