public void GetInputEnumValue_ByName()
        {
            var doc = new CustomHtmlDocument();

            doc.LoadHtml(_nodeTestHtml);
            var obj = new NodeTestClass();

            var output = doc.GetInputEnumValue <DigestVolumeFrequencyOption>("enum_prop");

            output.Should().Be(obj.EnumProp);
        }
        public void GetTextareaStringValue_ByName()
        {
            var doc = new CustomHtmlDocument();

            doc.LoadHtml(_nodeTestHtml);
            var obj = new NodeTestClass();

            var output = doc.GetTextAreaStringValue("list_prop");

            output.Should().Be(obj.StringProp2);
        }
        public void GetTextareaListValue_ByName()
        {
            var doc = new CustomHtmlDocument();

            doc.LoadHtml(_nodeTestHtml);
            var obj = new NodeTestClass();

            var output = doc.GetTextAreaListValue("list_prop");

            output.Should().BeEquivalentTo(obj.ListProp);
        }
        public void GetInputEnumValue()
        {
            var doc = new CustomHtmlDocument();

            doc.LoadHtml(_nodeTestHtml);
            var obj  = new NodeTestClass();
            var prop = typeof(NodeTestClass).GetProperty("EnumProp");

            var output = doc.GetInputEnumValue(prop);

            output.Should().Be(obj.EnumProp);
        }
        public void GetTextAreaStringValue()
        {
            var doc = new CustomHtmlDocument();

            doc.LoadHtml(_nodeTestHtml);
            var obj  = new NodeTestClass();
            var prop = typeof(NodeTestClass).GetProperty("ListProp");

            var output = doc.GetTextAreaStringValue(prop);

            output.Should().Be(obj.StringProp2);
        }