Affected.Cli.Tests.OutputGenerationTests.When_using_output_name_should_create_file C# (CSharp) Method

When_using_output_name_should_create_file() private method

private When_using_output_name_should_create_file ( ) : Task
return Task
        public async Task When_using_output_name_should_create_file()
        {
            // Create a project
            var projectName = "InventoryManagement";
            this.Repository.CreateCsProject(projectName);

            var (output, exitCode) =
                await this.InvokeAsync($"-p {Repository.Path} --dry-run --output-name to-build");

            Assert.Equal(0, exitCode);

            Assert.Contains($"WRITE {Path.Combine(Repository.Path, "to-build.proj")}", output);
        }