public override void SetUp () { base.SetUp (); _source2 = Expression.Constant (new[] { "test1", "test2" }); _node = new UnionExpressionNode ( CreateParseInfo (SourceNode, "u", UnionExpressionNode.SupportedMethods[0].MakeGenericMethod (typeof (int))), _source2); }
public override void SetUp () { base.SetUp (); _source2 = Expression.Constant (new[] { "test1", "test2" }); _node = new UnionExpressionNode ( CreateParseInfo (SourceNode, "u", ReflectionUtility.GetMethod (() => Queryable.Union<int> (null, null))), _source2); }