public void UserDefinedFunctionExecute3Test() { mockUDFProxy.Setup(m => m.Apply(It.IsAny<IColumnProxy[]>())); UserDefinedFunction<int> udf = new UserDefinedFunction<int>(mockUDFProxy.Object); Column column1 = GeneratorColum(); Column column2 = GeneratorColum(); Column column3 = GeneratorColum(); udf.Execute3(column1, column2, column3); mockUDFProxy.Verify(m => m.Apply(new IColumnProxy[] { column1.ColumnProxy, column2.ColumnProxy, column3.ColumnProxy }), Times.Once); }
public void UserDefinedFunctionExecute3Test() { mockUDFProxy.Setup(m => m.Apply(It.IsAny <IColumnProxy[]>())); UserDefinedFunction <int> udf = new UserDefinedFunction <int>(mockUDFProxy.Object); Column column1 = GeneratorColum(); Column column2 = GeneratorColum(); Column column3 = GeneratorColum(); udf.Execute3(column1, column2, column3); mockUDFProxy.Verify(m => m.Apply(new IColumnProxy[] { column1.ColumnProxy, column2.ColumnProxy, column3.ColumnProxy }), Times.Once); }