public void FiltersItemTemplateFiles(string templateDir, bool shouldBeFiltered)
        {
            var filter = new WindowsFormsAddItemFilter(UnconfiguredProjectFactory.Create());

            Guid guid   = Guid.Empty;
            var  result = filter.FilterListItemByTemplateFile(ref guid, templateDir, out int filterResult);

            Assert.Equal(0, result);
            Assert.Equal(shouldBeFiltered, filterResult == 1);
        }
        public void FiltersItemTemplateFolders_WindowsForms(string templateDir, bool shouldBeFiltered)
        {
            var filter = new WindowsFormsAddItemFilter(UnconfiguredProjectFactory.Create(scope: IProjectCapabilitiesScopeFactory.Create(new string[] { "WindowsForms" })));

            Guid guid   = Guid.Empty;
            var  result = filter.FilterTreeItemByTemplateDir(ref guid, templateDir, out int filterResult);

            Assert.Equal(0, result);
            Assert.Equal(shouldBeFiltered, filterResult == 1);
        }