public void SetUp() { FileSystemProvider.Instance = FileSystemForTesting.Instance; var created = ArchiveRoot.TryCreate(@"C:\archiv", out _root); Assert.IsTrue(created); }
public ArchiveRootTreeViewItem(ArchiveRoot root, IMessageBox messageBox) : base("<none>") { _root = root; MessageBox = messageBox; Children = root.Children .Select(item => item.ToTreeViewItem(this)) .ToImmutableList(); }