public void InitializeFromFullCmdLine_AssignmentDelimiterSpace_InitializedFromArgs()
        {
            // Arrange
            var cmdLineObj = new DefaultAssignmentDelimiterCmdLineObject();

            // Act
            cmdLineObj.InitializeFromCmdLine(new[] { "/Name", "John" });

            //Assert
            Assert.That(cmdLineObj.Name, Is.EqualTo("John"));
        }
        InitializeFromCmdLine_DefaultAssignmentDelimiterCmdLineObjectValueContainsDoubleQuotes_InitializedFromArgs()
        {
            // Arrange
            var cmdLineObj = new DefaultAssignmentDelimiterCmdLineObject();

            // Act
            cmdLineObj.InitializeFromCmdLine(new[] { @"/Name", @"""John Smith""" });

            //Assert
            Assert.That(cmdLineObj.Name, Is.EqualTo("John Smith"));
        }
        public void GetHelpText_DefaultAssignmentDelimiterOneArgument_UsageContainsSpace()
        {
            // Arrange
            var cmdLineObj = new DefaultAssignmentDelimiterCmdLineObject();

            // Act
            cmdLineObj.InitializeFromCmdLine(new[] { "/Name", "John" });
            string helpText = cmdLineObj.GetHelpText(80);

            //Assert
            helpText.Should().Be(@"Command-line options.

 [/Name <Name>] [/?[-]]

/Name     The name of the user
/?        Displays command-line usage information.
          Default Value: False
");
        }