Bottles.IntegrationTesting.LinkedFolderPackageTester.read_and_write_files_from_a_linked_folder_without_first_initializing_the_linked_folder_will_create_a_default_package_manifest_and_JUST_WORK C# (CSharp) Method

read_and_write_files_from_a_linked_folder_without_first_initializing_the_linked_folder_will_create_a_default_package_manifest_and_JUST_WORK() private method

        public void read_and_write_files_from_a_linked_folder_without_first_initializing_the_linked_folder_will_create_a_default_package_manifest_and_JUST_WORK()
        {
            //RunBottlesCommand("init bottles-staging BottleProject");

            // REALLY NEED THIS CLEAN TO BE A VALID TEST
            File.Delete("BottleProject.dll");
            File.Delete(LinkManifest.FILE);

            //            AlterManifest(manifest =>
            //            {
            //                manifest.RemoveAllAssemblies();
            //                manifest.AddAssembly("BottleProject");
            //            });

            Recompile();

            RunBottlesCommand("link {0} {1}".ToFormat(AppDomain.CurrentDomain.BaseDirectory, StagingDirectory));

            _domain.Proxy.LoadViaFolder(StagingDirectory);
            _domain.Proxy.ReadWebContent("content/scripts/script1.js").Trim()
                   .ShouldEqual("var x = 1;");

            _domain.Proxy.ReadData("1.txt").Trim()
                   .ShouldEqual("Original Value");
        }