예제 #1
0
        public void RegexSuccessTest(string[] args)
        {
            var command = new RegexValueCommand();

            command.ReadArguments(args);
            command.Execute();
        }
예제 #2
0
        public void RegexFailTest(string[] args)
        {
            var command = new RegexValueCommand();

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