public void ReturnsValidationContextWithErrorsForMissingMandatoryOptions() { var commandLineParser = CreateCommandLineParser(); var context = new TestContextWithMandatoryOption(); var validationContext = commandLineParser.Parse(string.Empty, context); Assert.IsTrue(validationContext.HasErrors); }
public void ReturnsValidationContextWithErrorsForMissingMandatoryOptions() { var commandLineParser = CreateCommandLineParser(); var context = new TestContextWithMandatoryOption(); var validationContext = commandLineParser.Parse("", context); Assert.IsTrue(validationContext.HasErrors); }