Ejemplo n.º 1
0
        public void RegexSuccessTest(string[] args)
        {
            var command = new RegexValueCommand();

            command.ReadArguments(args);
            command.Execute();
        }
Ejemplo n.º 2
0
        public void RegexFailTest(string[] args)
        {
            var command = new RegexValueCommand();

            Assert.Throws <ArgumentException>(() => command.ReadArguments(args));
        }