public void DynamicSQLinqSubQueryJoinExpression_ToSQL_003()
        {
            var query = SQLinq.SQLinq.Create("test");
            var alias = "name";
            var clause = "1 = 1";
            var param1 = "test";
            var param2 = 2;

            var target = new DynamicSQLinqSubQueryJoinExpression(query, alias, clause, param1, param2);

            target.ToSQL(parameterNamePrefix: " ");
        }
        public void DynamicSQLinqSubQueryJoinExpression_Constructor_001()
        {
            var query = SQLinq.SQLinq.Create("test");
            var alias = "name";
            var clause = "1 = 1";
            var param1 = "test";
            var param2 = 2;
            
            var target = new DynamicSQLinqSubQueryJoinExpression(query, alias, clause, param1, param2);

            Assert.AreEqual(DynamicSQLinqJoinOperator.Inner, target.JoinOperator);

            Assert.AreEqual(query, target.Query);
            Assert.AreEqual(alias, target.Alias);
            Assert.AreEqual(clause, target.Clause);
            Assert.AreEqual(param1, target.Parameters[0]);
            Assert.AreEqual(param2, target.Parameters[1]);
        }