public void ShouldCreateNotExpression()
        {
            var factory    = new DbExpressionFactory();
            var expression = factory.Not(factory.In(factory.Column("SomeColumn"), new object[] { 1, 2 }));

            Assert.IsNotNull(expression.Operand);
            Assert.IsTrue(expression.ExpressionType == DbExpressionType.Unary);
            Assert.IsTrue(expression.UnaryExpressionType == DbUnaryExpressionType.Not);
        }
 public void ShouldCreateNotExpression()
 {
     var factory = new DbExpressionFactory();
     var expression = factory.Not(factory.In(factory.Column("SomeColumn"), new object[] { 1, 2 }));
     Assert.IsNotNull(expression.Operand);
     Assert.IsTrue(expression.ExpressionType == DbExpressionType.Unary);
     Assert.IsTrue(expression.UnaryExpressionType == DbUnaryExpressionType.Not);
 }