public void FiltersExcludedDirectories(string dirname, FileAttributes attributes, ExclusionFilters filters, bool excluded) { var dirInfo = new DirectoryInfo(Path.Combine(_fileSystem.RootPath, dirname)); dirInfo.Create(); dirInfo.Attributes = attributes; Assert.Equal(excluded, FileSystemInfoHelper.IsExcluded(_fileSystem.GetDirectory(dirname), filters)); }