public void ShouldFindAndCallDeployScripts()
 {
     deployment.Variables.Set(SpecialVariables.Package.GenerateAppSettingsJson, "true");
     deployment.Variables.Set(SpecialVariables.Package.AppSettingsJsonPath, "appsettings.environment.json");
     var convention = new AppSettingsJsonConvention(generator);
     convention.Install(deployment);
     generator.Received().Generate("appsettings.environment.json", deployment.Variables);
 }
 public void ShouldNotRunIfVariableNotSet()
 {
     var convention = new AppSettingsJsonConvention(generator);
     convention.Install(deployment);
     generator.DidNotReceiveWithAnyArgs().Generate(null, null);
 }