public void SimpleConditional() { var condition = SqlExpression.Equal(SqlExpression.VariableReference("a"), SqlExpression.Constant(34)); var ifTrue = new SqlStatement[] { new DeclareVariableStatement("b", PrimitiveTypes.String()), new AssignVariableStatement(SqlExpression.VariableReference("b"), SqlExpression.Constant(21)), }; var result = AdminQuery.If(condition, ifTrue); Assert.IsNotNull(result); }