public void RegexSuccessTest(string[] args) { var command = new RegexValueCommand(); command.ReadArguments(args); command.Execute(); }
public void RegexFailTest(string[] args) { var command = new RegexValueCommand(); Assert.Throws <ArgumentException>(() => command.ReadArguments(args)); }