public async Task Readonly_FunAppRoot_Test()
        {
            File.Delete(Path.Combine(_scriptRootPath, "requirements.psd1"));
            File.Delete(Path.Combine(_scriptRootPath, "profile.ps1"));
            _environment.SetEnvironmentVariable(EnvironmentSettingNames.AzureWebsiteZipDeployment, "1");
            var funcAppFileProvisioningService = new FuncAppFileProvisioningService(_environment, _optionsMonitor, _funcAppFileProvisionerFactory);
            await funcAppFileProvisioningService.StartAsync(_cancellationTokenSource.Token);

            Assert.True(!File.Exists(Path.Combine(_scriptRootPath, "requirements.psd1")));
            Assert.True(!File.Exists(Path.Combine(_scriptRootPath, "profile.ps1")));
        }
        public async Task Create_App_Files_Runtime_Test(string workerRuntime)
        {
            File.Delete(Path.Combine(_scriptRootPath, "requirements.psd1"));
            File.Delete(Path.Combine(_scriptRootPath, "profile.ps1"));
            _environment.SetEnvironmentVariable(LanguageWorkerConstants.FunctionWorkerRuntimeSettingName, workerRuntime);
            var funcAppFileProvisioningService = new FuncAppFileProvisioningService(_environment, _optionsMonitor, _funcAppFileProvisionerFactory);
            await funcAppFileProvisioningService.StartAsync(_cancellationTokenSource.Token);

            if (string.Equals(workerRuntime, "powershell", StringComparison.InvariantCultureIgnoreCase))
            {
                Assert.True(File.Exists(Path.Combine(_scriptRootPath, "requirements.psd1")));
                Assert.True(File.Exists(Path.Combine(_scriptRootPath, "profile.ps1")));
            }
            else
            {
                Assert.True(!File.Exists(Path.Combine(_scriptRootPath, "requirements.psd1")));
                Assert.True(!File.Exists(Path.Combine(_scriptRootPath, "profile.ps1")));
            }
        }