private static OptionValueSpecification ReturnImmediatelyOrDelayed() { return(OptionValueSpecification.ForOptionalValue("return:", "immediately or afterFinished (default)")); }
private static OptionValueSpecification OnNode() { return(OptionValueSpecification.ForOptionalValue("on:", "node")); }
public void ToString_ShouldHaveBracketsWhenOptional() { var specification = OptionValueSpecification.ForOptionalValue("on:", "server"); specification.ToString().Should().Be("[on: (server)]"); }