public void AllowCorrectPaths()
        {
            var filter = new IgnoredFoldersFilter();

            string reason;

            Assert.That(filter.CheckPath(Path.GetTempPath(), out reason), Is.False);
            Assert.That(string.IsNullOrEmpty(reason), Is.True);
        }
        public void ForbidIgnoredFolderNames()
        {
            var ignoredFolder = new List <string>();

            ignoredFolder.Add(Path.GetTempPath());
            var filter = new IgnoredFoldersFilter {
                IgnoredPaths = ignoredFolder
            };

            string reason;

            Assert.That(filter.CheckPath(Path.GetTempPath(), out reason), Is.True);
            Assert.That(string.IsNullOrEmpty(reason), Is.False);
        }