public void StorageAccountName_Succeeds(string jsonData, string plainName, string storageAccountName)
        {
            var templates = new FileNamingTemplates(jsonData);
            var names     = templates.GetInstanceCreateNames("n", "rg");

            Assert.Equal(plainName, names.PlainName);
            Assert.Equal(storageAccountName, names.StorageAccountName);
        }
        public void AppInsightName_Succeeds(string jsonData, string plainName, string appInsightName)
        {
            var templates = new FileNamingTemplates(jsonData);
            var names     = templates.GetInstanceCreateNames("n", "rg");

            Assert.Equal(plainName, names.PlainName);
            Assert.Equal(appInsightName, names.AppInsightName);
        }
        public void FunctionAppName_Succeeds(string jsonData, string plainName, string functionAppName)
        {
            var templates = new FileNamingTemplates(jsonData);
            var names     = templates.GetInstanceCreateNames("n", "rg");

            Assert.Equal(plainName, names.PlainName);
            Assert.Equal(functionAppName, names.FunctionAppName);
        }
        public void HostingPlanName_Succeeds(string jsonData, string plainName, string hostingPlanName)
        {
            var templates = new FileNamingTemplates(jsonData);
            var names     = templates.GetInstanceCreateNames("n", "rg");

            Assert.Equal(plainName, names.PlainName);
            Assert.Equal(hostingPlanName, names.HostingPlanName);
        }
        public void ResourceGroupName_Succeeds(string jsonData, string plainName, string resourceGroupName)
        {
            var templates = new FileNamingTemplates(jsonData);
            var names     = templates.GetInstanceCreateNames("n", "rg");

            Assert.Equal(plainName, names.PlainName);
            Assert.Equal(resourceGroupName, names.ResourceGroupName);
        }