private void TryParameter(Object[] param, int size)
        {
            var factory = new LengthBatchViewFactory();

            factory.SetViewParameters(SupportStatementContextFactory.MakeViewContext(_container), TestViewSupport.ToExprListBean(param));
            var view = (LengthBatchView)factory.MakeView(SupportStatementContextFactory.MakeAgentInstanceViewFactoryContext(_container));

            Assert.AreEqual(size, view.Size);
        }
Beispiel #2
0
 public View CloneView()
 {
     return(_lengthBatchViewFactory.MakeView(AgentInstanceViewFactoryContext));
 }