コード例 #1
0
        public void ShouldParseCommand(string commandline, bool shouldParse)
        {
            var command = RightCommand.Parse(commandline);

            if (shouldParse)
            {
                Assert.NotNull(command);
            }
            else
            {
                Assert.Null(command);
            }
        }