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