public void ShouldHaveDefault()
        {
            var target = new DiffIgnoreChangesInput {
                SuppliedInput = null
            };

            var result = target.Validate();

            result.ShouldBeEmpty();
        }
        public void ShouldAcceptGlob()
        {
            var target = new DiffIgnoreChangesInput {
                SuppliedInput = new[] { "*" }
            };

            var result = target.Validate();

            result.ShouldHaveSingleItem().Glob.ToString().ShouldBe("*");
        }
        public void ShouldHaveHelpText()
        {
            var target = new DiffIgnoreChangesInput();

            target.HelpText.ShouldBe(@"Allows to specify an array of C# files which should be ignored if present in the diff.
Any non-excluded files will trigger all mutants to be tested because we cannot determine what mutants are affected by these files. 
This feature is only recommended when you are sure these files will not affect results, or when you are prepared to sacrifice accuracy for performance.

Use glob syntax for wildcards: https://en.wikipedia.org/wiki/Glob_(programming)
Example: ['**/*Assets.json','**/favicon.ico'] | default: []");
        }
        public void ShouldParseAll()
        {
            var target = new DiffIgnoreChangesInput {
                SuppliedInput = new[] { "*", "MyFile.cs" }
            };

            var result = target.Validate();

            result.Count().ShouldBe(2);

            result.First().Glob.ToString().ShouldBe("*");
            result.Last().Glob.ToString().ShouldBe("MyFile.cs");
        }