public void Generate_CommandSource_for_debugging_when_needed(bool useVB, string generatedCodeName)
        {
            Utils utils       = Utils.LanguageUtils(useVB);
            var   testProject = "PlaySpace";
            var   outputPath  = $"{Path.Combine(outputRootPath, testProject)}.{Utils.Extension(useVB)}";
            var   input       = @$ "PutYourCodeHere.{Utils.Extension(useVB)}";

            input = Path.Combine(outputPath, input);

            var output = utils.GenerateAndTest(generatedCodeName, input, outputPath);

            output.Length.Should().BeGreaterThan(1000);
        }
        public void CliFromMethod_creates_code_that_will_compile_to_run(bool useVB, string generatedCodeName)
        {
            Utils utils       = Utils.LanguageUtils(useVB);
            var   testProject = "FromMethodOutput";
            var   outputPath  = $"{Path.Combine(outputRootPath, testProject)}.{Utils.Extension(useVB)}";
            var   input       = @$ "Program.{Utils.Extension(useVB)}";

            input = Path.Combine(outputPath, input);

            var output = utils.GenerateAndTest(generatedCodeName, input, outputPath, isExe: true);

            output.Length.Should().BeGreaterThan(1000);
            NamerFactory.AdditionalInformation = $"{Utils.LanguageName(useVB)}-{Utils.ShortenedGeneratedCodeName(generatedCodeName)}";
            Approvals.Verify(output);
        }
        public void CliRoot_creates_code_that_will_compile(bool useVB, string generatedCodeName)
        {
            Utils utils       = Utils.LanguageUtils(useVB);
            var   testProject = "Output";
            var   input       = $"CliRoot.{Utils.Extension(useVB)}";
            var   outputPath  = $"{Path.Combine(outputRootPath, testProject)}.{Utils.Extension(useVB)}";

            generatedCodeName = $"CliRoot{generatedCodeName}";

            var output = utils.GenerateAndTest(generatedCodeName, input, outputPath);

            output.Length.Should().BeGreaterThan(1000);
            NamerFactory.AdditionalInformation = $"{Utils.LanguageName(useVB)}-{Utils.ShortenedGeneratedCodeName(generatedCodeName)}";
            Approvals.Verify(output);
        }