Beispiel #1
0
        When_formatting_command_line_with_Single_style_Then_it_should_return_single_string_Name_string()
        {
            var sut = new SwitchArgument("SwitchName");

            IEnumerable <string> commandLine = sut.FormatCommandLine("---", CommandLineArgumentStyle.SingleWithEqualsSignDelimiter);

            commandLine.Should().Equal("---SwitchName");
        }
Beispiel #2
0
        When_formatting_command_line_with_Separated_style_Then_it_should_return_Name_string()
        {
            var sut = new SwitchArgument("SwitchName");

            IEnumerable <string> commandLine = sut.FormatCommandLine("---", CommandLineArgumentStyle.Separated);

            commandLine.Should().Equal("---SwitchName");
        }