Exemplo n.º 1
0
        public void CreateTempFolder()
        {
            RootDirectoryInfo = new DirectoryInfo(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop),
                                                               nameof(Junctionizer) + "TestDirectory"));

            SourceCollection?.Dispose();
            DestinationCollection?.Dispose();

            var(_, sourceDirectory, destinationDirectory) = TestData.SetupTestData(RootDirectoryInfo);

            (SourceCollection, DestinationCollection) = FolderCollection.Factory.CreatePair();
            SourceCollection.Location      = sourceDirectory.FullName;
            DestinationCollection.Location = destinationDirectory.FullName;
        }