public void TestCommandDoesntExecutesWithMinus() { var parameters = new ParameterParser().Parse(@"-three ""-two"""); var command = new FakeCommand(); command.BindParameters(parameters); Assert.Null(command.GetOptions()); }
public void TestCommandExecutes() { var parameters = new ParameterParser().Parse("-one two"); var command = new FakeCommand(); command.BindParameters(parameters); Assert.NotNull(command.GetOptions()); }