Exemplo n.º 1
0
 public void UserDefinedFunctionExecute2Test()
 {
     mockUDFProxy.Setup(m => m.Apply(It.IsAny<IColumnProxy[]>()));
     UserDefinedFunction<int> udf = new UserDefinedFunction<int>(mockUDFProxy.Object);
     Column column1 = GeneratorColum();
     Column column2 = GeneratorColum();
     udf.Execute2(column1, column2);
     mockUDFProxy.Verify(m => m.Apply(new IColumnProxy[] { column1.ColumnProxy, column2.ColumnProxy }), Times.Once);
 }
Exemplo n.º 2
0
        public void UserDefinedFunctionExecute2Test()
        {
            mockUDFProxy.Setup(m => m.Apply(It.IsAny <IColumnProxy[]>()));
            UserDefinedFunction <int> udf = new UserDefinedFunction <int>(mockUDFProxy.Object);
            Column column1 = GeneratorColum();
            Column column2 = GeneratorColum();

            udf.Execute2(column1, column2);
            mockUDFProxy.Verify(m => m.Apply(new IColumnProxy[] { column1.ColumnProxy, column2.ColumnProxy }), Times.Once);
        }