<commit_before>﻿namespace DevOpsFlex.Azure.Management.Tests
{
    using System.Linq;
    using System.Threading.Tasks;
    using Data;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    /// <summary>
    /// Contains tests that target the extension class <see cref="DevOpsFlexDbContextExtensions"/>.
    /// </summary>
    [TestClass]
    public class DevOpsFlexDbContextExtensionsTest
    {
        /// <summary>
        /// Tests the ProvisionAll on <see cref="AzureCloudService"/> with real SQL Db data (seed).
        /// </summary>
        [TestMethod, TestCategory("Integration")]
        public async Task Foo()
        {
            FlexDataConfiguration.Branch = "Main";
            FlexDataConfiguration.Configuration = "djfr";

            using (var client = ManagementClient.CreateComputeClient())
            using(var context = new DevOpsFlexDbContext())
            {
                await context.Components.OfType<AzureCloudService>().ProvisionAll(client);
            }
        }
    }
}
<commit_msg>Renamed a "Foo" test to something more useful!<commit_after>﻿namespace DevOpsFlex.Azure.Management.Tests
{
    using System.Linq;
    using System.Threading.Tasks;
    using Data;
    using Microsoft.VisualStudio.TestTools.UnitTesting;

    /// <summary>
    /// Contains tests that target the extension class <see cref="DevOpsFlexDbContextExtensions"/>.
    /// </summary>
    [TestClass]
    public class DevOpsFlexDbContextExtensionsTest
    {
        /// <summary>
        /// Tests the ProvisionAll on <see cref="AzureCloudService"/> with real SQL Db data (seed).
        /// </summary>
        [TestMethod, TestCategory("Integration")]
        public async Task Test_AzureCloudService_ProvisionAll_End2End()
        {
            FlexDataConfiguration.Branch = "Main";
            FlexDataConfiguration.Configuration = "djfr";

            using (var client = ManagementClient.CreateComputeClient())
            using (var context = new DevOpsFlexDbContext())
            {
                await context.Components.OfType<AzureCloudService>().ProvisionAll(client);
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.10553470919324578, 'fraction_numerical': 0.00046904315196998124, 'mean_word_length': 2.4347826086956523, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2376269', 'n_tokens_mistral': 565, 'n_tokens_neox': 547, 'n_words': 126}