public void IgnoresNonContentDirectories()
        {
            List <string> mockChanges = new List <string>()
            {
                ".gitignore",
                ".vsts-content-manager.yml",
                "content/ContentManager/ContentManager.Test/ContentManager.Test.csproj",
                "content/ContentManager/ContentManager.Test/GetFilesShould.cs",
                "content/ContentManager/ContentManager.Test/Properties/launchSettings.json",
                "content/ContentManager/ContentManager.Test/scripts/checkCoverage.js",
                "content/ContentManager/ContentManager.sln",
                "content/ContentManager/ContentManager/GetFiles.cs",
                "content/ContentManager/ContentManager/Models.cs",
                "content/ContentManager/ContentManager/Options.cs",
                "content/ContentManager/ContentManager/Program.cs",
                "content/ContentManager/ContentManager/Properties/launchSettings.json",
                "content/ContentManager/ContentManager/Types.cs",
                "content/ContentManager/ContentManagerTest/UnitTest1.cs",
                "content/ContentManager/README.md",
                "backend/someFile.tf",
                "frontend/someOtherFile.js"
            };

            Mock <IRepository> mockRepo = new Mock <IRepository>();

            (string GitDirectory, string ContentDirectory) = GetSrc.SrcPath();
            GetFilesFromDiff gitHelper = new GetFilesFromDiff(mockRepo.Object, GitDirectory, "content");
            Dictionary <Types.InputType, IEnumerable <string> > files = gitHelper.PackPaths(mockChanges as IEnumerable <string>);

            Assert.Empty(files);
        }
        public void ReturnsContentSpecificFolder(Types.InputType type, IEnumerable <string> list, int fileCount)
        {
            Mock <IRepository> mockRepo = new Mock <IRepository>();

            (string GitDirectory, string ContentDirectory) = GetSrc.SrcPath();
            GetFilesFromDiff gitHelper = new GetFilesFromDiff(mockRepo.Object, GitDirectory, "content");
            Dictionary <Types.InputType, IEnumerable <string> > files = gitHelper.PackPaths(list as IEnumerable <string>);

            Assert.Single(files);
            foreach (KeyValuePair <Types.InputType, IEnumerable <string> > entry in files)
            {
                Assert.Equal(type, entry.Key);
                Assert.Equal(fileCount, entry.Value.Count());
                foreach (string file in entry.Value)
                {
                    AnallyExpect.MarkDownOrXmlFiles(file);
                    Assert.Contains(type.ToString("g"), file);
                }
            }
        }