public void ShouldCreateInnerJoinExpression()
        {
            var factory    = new DbExpressionFactory();
            var expression = factory.InnerJoin(factory.Table("SomeTable"),
                                               factory.Column("SomeColumn") == factory.Column("SomeOtherColumn"));

            Assert.IsNotNull(expression.Condition);
            Assert.IsNotNull(expression.Target);

            Assert.IsTrue(expression.ExpressionType == DbExpressionType.Join);
            Assert.IsTrue(expression.JoinExpressionType == DbJoinExpressionType.InnerJoin);
        }
        public void ShouldCreateInnerJoinExpression()
        {
            var factory = new DbExpressionFactory();
            var expression = factory.InnerJoin(factory.Table("SomeTable"),
                                               factory.Column("SomeColumn") == factory.Column("SomeOtherColumn"));
            Assert.IsNotNull(expression.Condition);
            Assert.IsNotNull(expression.Target);

            Assert.IsTrue(expression.ExpressionType == DbExpressionType.Join);
            Assert.IsTrue(expression.JoinExpressionType == DbJoinExpressionType.InnerJoin);
        }