Exemplo n.º 1
0
        public void CanGetChannelInfo()
        {
            using (var sut = new MixerRestClient(LoggerFactory, Client))
            {
                sut.InitAsync(ChannelName, Token).Wait(Simulator.TIMEOUT);

                var(title, gameTypeId) = sut.GetChannelInfoAsync().Result;

                // Assert
                title.Should().Be("Test stream title 1");
                gameTypeId.Should().Be(GameTypeId);
            }
        }