public void SetUp() { // Set up length window view and a test child view _myView = new LengthBatchView(null, new LengthBatchViewFactory(), 5, null); _childView = new SupportBeanClassView(typeof(SupportMarketDataBean)); _myView.AddView(_childView); }
public void TestIncorrectUse() { try { _myView = new LengthBatchView(null, null, 0, null); Assert.Fail(); } catch (ArgumentException ex) { // Expected exception } }