public void ExcudeType(
            IEnumerable <RegexRule> otherRules,
            RegexFilter sut)
        {
            // Arrange
            sut.Rules.AddRange(otherRules);
            sut.ExcludeType(GetType());

            // Act
            bool actual = ((ITypeFilter)sut).ExcludeType(GetType());

            // Assert
            Assert.True(actual);
        }
        public void EnsureIncludeTypeRuleTakesPrecedenceOverExcudeTypeRule(
            IEnumerable <RegexRule> otherRules,
            RegexFilter sut)
        {
            // Arrange
            sut.Rules.AddRange(otherRules);
            sut.ExcludeType(GetType())
            .IncludeType(GetType());

            // Act
            bool actual = ((ITypeFilter)sut).ExcludeType(GetType());

            // Assert
            Assert.False(actual);
        }
        public void EnsureIncludeTypeRuleTakesPrecedenceOverExcudeTypeRule(
            IEnumerable<RegexRule> otherRules,
            RegexFilter sut)
        {
            // Arrange
            sut.Rules.AddRange(otherRules);
            sut.ExcludeType(GetType())
               .IncludeType(GetType());

            // Act
            bool actual = ((ITypeFilter)sut).ExcludeType(GetType());

            // Assert
            Assert.False(actual);
        }
        public void ExcudeType(
            IEnumerable<RegexRule> otherRules,
            RegexFilter sut)
        {
            // Arrange
            sut.Rules.AddRange(otherRules);
            sut.ExcludeType(GetType());

            // Act
            bool actual = ((ITypeFilter) sut).ExcludeType(GetType());

            // Assert
            Assert.True(actual);
        }