public void GivenFixtureWhenInSetupAndNotAllowedStreamingThenCanConnectToStreamServerReturnsFalse()
        {
            //
            //Arrange
            //
            var resourceSummary = new Summary {
                MatchStatus = (int)MatchStatus.Setup
            };

            _resourceFacadeMock.SetupGet(o => o.Content).Returns(resourceSummary);
            _settings.SetupGet(o => o.AllowFixtureStreamingInSetupMode).Returns(false);
            var streamHealthCheckValidation = new StreamHealthCheckValidation(_settings.Object);

            //
            //Act
            //
            bool canConnectToStreamServer = streamHealthCheckValidation.CanConnectToStreamServer(
                _resourceFacadeMock.Object,
                It.IsNotIn(StreamListenerState.Streaming));

            //
            //Assert
            //
            Assert.IsFalse(canConnectToStreamServer);
        }
        public void GivenFixtureWhenStreamingThenCanConnectToStreamServerReturnsFalse()
        {
            //
            //Arrange
            //
            _resourceFacadeMock.SetupGet(o => o.Content).Returns(new Summary());
            var streamHealthCheckValidation = new StreamHealthCheckValidation(_settings.Object);

            //
            //Act
            //
            bool canConnectToStreamServer = streamHealthCheckValidation.CanConnectToStreamServer(
                _resourceFacadeMock.Object,
                StreamListenerState.Streaming);

            //
            //Assert
            //
            Assert.IsFalse(canConnectToStreamServer);
        }