public void MyTestInitialize()
        {
            form1 = new Form();
             form2 = new Form();
             form3 = new Form();

             view1 = new MockView("View1");
             view2 = new MockView("View2");
             view3 = new MockView("View3");

             view1.Parent = form1;
             view2.Parent = form2;
             view3.Parent = form3;

             form1.Location = new Point(0, 0);
             form2.Location = new Point(50, 50);
             form3.Location = new Point(100, 100);
        }
        public void RemoveViewFromPageFlowOrder()
        {
            const string id = "View1";
            MockView view = new MockView(id);

            IPageFlowNavigationController controller = new PageFlowNavigationController();
            controller.AddView(id, view);

            controller.RemoveView(id);

            Assert.AreEqual(controller.ViewOrder.Count, 0);
        }