Esempio n. 1
0
        public async void SearchChannelsTest()
        {
            Total <List <Channel> > searchedChannels = await twixel.SearchChannels("golf1052");

            Channel channel = searchedChannels.wrapped.FirstOrDefault((c) => c.name == "golf1052");

            Assert.NotNull(channel);
        }
Esempio n. 2
0
 public async void SearchChannelsTest()
 {
     await Assert.ThrowsAsync <TwixelException>(async() => await twixel.SearchChannels("golf1052"));
 }