public void BuildNewClassLib_ShouldReturnCommand()
        {
            var expectedCommand = "new classlib";

            var result = new DotNetCommandBuilder()
                         .NewClassLib()
                         .Build();

            result.Should().Be(expectedCommand);
        }
        public void BuildNewWebApi_ShouldReturnCommand()
        {
            var expectedCommand = "new webapi";

            var result = new DotNetCommandBuilder()
                         .NewWebApi()
                         .Build();

            result.Should().Be(expectedCommand);
        }
        public void BuildNewSolution_ShouldReturnCommand()
        {
            var expectedCommand = "new sln";

            var result = new DotNetCommandBuilder()
                         .NewSolution()
                         .Build();

            result.Should().Be(expectedCommand);
        }
        public void BuildNewClassLibWithNoRestore_ShouldReturnCommand()
        {
            var expectedCommand = "new classlib --no-restore";

            var result = new DotNetCommandBuilder()
                         .NewClassLib()
                         .WithNoRestore()
                         .Build();

            result.Should().Be(expectedCommand);
        }
        public void BuildNewSolutionWithName_ShouldReturnCommand()
        {
            var expectedCommand = "new sln -n validName";

            var result = new DotNetCommandBuilder()
                         .NewSolution()
                         .WithName("validName")
                         .Build();

            result.Should().Be(expectedCommand);
        }
        public void BuildNewSolutionWithPath_ShouldReturnCommand()
        {
            var expectedCommand = "new sln -o validPath";

            var result = new DotNetCommandBuilder()
                         .NewSolution()
                         .WithPath("validPath")
                         .Build();

            result.Should().Be(expectedCommand);
        }