public void HandleIntegerParam()
        {
            var p1 = new IntegerParamValue(18);
            Assert.AreEqual("18", p1.QueryValue);

            var p2 = new IntegerParamValue(ComparisonOperator.GT, 18);
            Assert.AreEqual(">18", p2.QueryValue);

            var p3 = IntegerParamValue.FromQueryValue("18");
            Assert.AreEqual(18, p3.Value);
            Assert.AreEqual(ComparisonOperator.EQ, p3.Comparison);

            var p4 = IntegerParamValue.FromQueryValue("<=18");
            Assert.AreEqual(18, p4.Value);
            Assert.AreEqual(ComparisonOperator.LTE, p4.Comparison);
        }
 public IntegerParamValue AsIntegerParam()
 {
     return(IntegerParamValue.FromQueryValue(Value));
 }