public void Contains_should_throw_if_option_null() { ((Action)(() => ScriptOptionsParser.Contains("", null))).Should() .Throw <ArgumentNullException>() .WithMessage("Value cannot be null.\r\nParameter name: option"); }
public void Contains_should_return_expected(string arguments, string option, bool expected) { ScriptOptionsParser.Contains(arguments, option).Should().Be(expected); }
public void Contains_should_throw_if_arguments_null() { ((Action)(() => ScriptOptionsParser.Contains(null, null))).Should() .Throw <ArgumentNullException>() .WithMessage("Value cannot be null. (Parameter 'arguments')"); }