public void Given_addressOfTargetPackage_and_SourceFile_when_MoveSelectedFilesToTargetProject_then_FilesShouldCopied()
        {
            var tempTargetPackage = new TempTargetPackage();

            CreateTempSourceFiles();

            tempTargetPackage.MoveSelectedFilesToTargetProject("TestSourceFile", "TestTargetAddress");
            Assert.True(File.Exists("TestSourceFile/Temp1/Temp2/testsource.txt"));
        }
        private void GenerateTargetFile_Click(object sender, EventArgs e)
        {
            InitialiseAddresses();
            var tempTargetPackage = new TempTargetPackage();

            tempTargetPackage.MoveSelectedFilesToTargetProject(_addressOfSourceFile, _addressOfTargetPackage);

            var fileTemplate = new FileTemplate();

            RemoveEmptyElement();

            var hashtable = new Hashtable
            {
                { "extention", TargetFileDTO.excludeExtensions },
                { "startWith", TargetFileDTO.excludeStartWith },
                { "endWith", TargetFileDTO.excludeEndWith }
            };

            fileTemplate.GenerateTemplate(_addressOftemplateFile, _addressOfTargetFile, hashtable);
            Close();

            Process.Start("explorer.exe", TargetFileDTO.projectAddress);
        }
        private void GenerateTargetFile_Click(object sender, EventArgs e)
        {
            InitialiseAddresses();
               var tempTargetPackage = new TempTargetPackage();
               tempTargetPackage.MoveSelectedFilesToTargetProject(_addressOfSourceFile, _addressOfTargetPackage);

               var fileTemplate = new FileTemplate();
               RemoveEmptyElement();

               var hashtable = new Hashtable
                               {
                                   {"extention", TargetFileDTO.excludeExtensions},
                                   {"startWith", TargetFileDTO.excludeStartWith},
                                   {"endWith", TargetFileDTO.excludeEndWith}
                               };

               fileTemplate.GenerateTemplate(_addressOftemplateFile, _addressOfTargetFile, hashtable);
               Close();

               Process.Start("explorer.exe", TargetFileDTO.projectAddress);
        }