public void NodeTypeDoesNotConflictWithSystemNodeTypes()
        {
            var systemNodeTypes = Enum.GetValues(typeof(ExpressionType)).OfType<ExpressionType>();

            var expression = new FacetExpression(termsFacet);

            Assert.DoesNotContain(expression.NodeType, systemNodeTypes);
        }
        public void ToStringReturnsFacetToString()
        {
            var expression = new FacetExpression(termsFacet);

            Assert.Equal(termsFacet.ToString(), expression.ToString());
        }
        public void ExpressionsTypeIsBool()
        {
            var expression = new FacetExpression(termsFacet);

            Assert.Equal(typeof(bool), expression.Type);
        }
        public void CanReduceIsAlwaysFalse()
        {
            var expression = new FacetExpression(termsFacet);

            Assert.False(expression.CanReduce);
        }
        public void ConstructorSetsFacet()
        {
            var expression = new FacetExpression(termsFacet);

            Assert.Same(termsFacet, expression.Facet);
        }