public void Should_add_match_all_filter()
        {
            // Arrange
            var context = new ScannerContext();
            Func<string, bool> filter = t => true;

            // Act
            context.AddMatchAllFileFilter(filter);

            // Assert
            Assert.That(context.MatchAllFileFilters.Single(), Is.EqualTo(filter));
            Assert.That(context.MatchOneFileFilters.Any(), Is.False);
        }
        public void Should_throw_when_null()
        {
            // Arrange
            var context = new ScannerContext();

            // Act & Assert
            Assert.Throws<ArgumentNullException>(() => context.AddMatchOneFileFilter(null));
            Assert.Throws<ArgumentNullException>(() => context.AddMatchAllFileFilter(null));
        }