public async void RetrieveEmoticonsTest() { List <Emoticon> emotes = await twixel.RetrieveEmoticons(); Emoticon rotations = emotes.FirstOrDefault((emote) => emote.regex == "ognTSM"); Assert.NotNull(rotations); }
public async void RetrieveEmoticonsTest() { List <Emoticon> emotes = await twixel.RetrieveEmoticons(); Emoticon rotations = null; foreach (Emoticon emote in emotes) { if (emote.regex == "ognTSM") { rotations = emote; break; } } Assert.NotNull(rotations); }