public void Check_that_false_is_Returned_when_track_does_not_match_with_restricted_names()
        {
            // Arrange
            var names = "Ball,Towers";
            var iSearchRuleSettings = new Mock<ISearchRuleSettings>();
            iSearchRuleSettings.Setup(s => s.ForbiddenTrackNames).Returns(names);

            // Act
            var classUnderTest = new TrackNameIsForbiddenSearchTrackRule(iSearchRuleSettings.Object);
            var result = classUnderTest.IsTrackRestricted(track);

            // Assert
            Assert.That(result == false);
        }
        public void Check_that_if_settings_is_empty_return_false()
        {
            // Arrange
            var names = string.Empty;
            var iSearchRuleSettings = new Mock<ISearchRuleSettings>();
            iSearchRuleSettings.Setup(s => s.ForbiddenTrackNames).Returns(names);

            // Act
            var classUnderTest = new TrackNameIsForbiddenSearchTrackRule(iSearchRuleSettings.Object);
            var result = classUnderTest.IsTrackRestricted(track);

            // Assert
            Assert.That(result == false);
        }