public void Parser_Default_Value_Success(int value, string[] args, short result)
        {
            OptionParser parser = new OptionParser();

            TestOptionObject obj = new TestOptionObject();

            obj.intValue = value;

            parser.Parse<TestOptionObject>(args, ref obj);

            Assert.AreEqual(obj.intValue, result);
        }
        public void Parser_Empty_Success(string value)
        {
            string[] args = new string[] { "-stringValue", "" };

            OptionParser parser = new OptionParser();

            var obj = new TestOptionObject();
            obj.stringValue = value;

            parser.Parse<TestOptionObject>(args, ref obj);

            Assert.AreEqual(obj.stringValue, value);
        }