예제 #1
0
        public virtual void SetUp()
        {
            InitializeArguments();

            Assert.DoesNotThrow(() =>
                                options = new TestOptions().Parse<TestOptions>(args));
        }
예제 #2
0
 public void Then_It_Should_Error()
 {
     Assert.Throws(typeof(ConsoleOptionsException),
                   () => options = new TestOptions().Parse<TestOptions>(args));
 }