public async void SearchChannelsTest() { Total <List <Channel> > searchedChannels = await twixel.SearchChannels("golf1052"); Channel channel = searchedChannels.wrapped.FirstOrDefault((c) => c.name == "golf1052"); Assert.NotNull(channel); }
public async void SearchChannelsTest() { await Assert.ThrowsAsync <TwixelException>(async() => await twixel.SearchChannels("golf1052")); }