public void ShouldParseCommand(string commandline, bool shouldParse) { var command = RightCommand.Parse(commandline); if (shouldParse) { Assert.NotNull(command); } else { Assert.Null(command); } }