Bari.Console.Test.ConsoleParametersTest.CommandWithArgs C# (CSharp) Method

CommandWithArgs() private method

private CommandWithArgs ( ) : void
return void
        public void CommandWithArgs()
        {
            var ps = new ConsoleParameters(new[] { "cmd", "1", "2", "3" });
            ps.Command.Should().Be("cmd"); // default command
            ps.CommandParameters.Should().BeEquivalentTo(new[] {"1", "2", "3"});
            ps.VerboseOutput.Should().BeFalse();
            ps.Goal.Should().BeNull(); // default goal
        }