public void ShowNextViewFromPageFlowOrder()
        {
            view1.ParentForm.Show();
            view2.ParentForm.Show();
            view3.ParentForm.Show();
            IPageFlowNavigationController controller = new PageFlowNavigationController();
            controller.AddView("View1", view1);
            controller.AddView("View2", view2);
            controller.AddView("View3", view3);

            Assert.IsFalse(view1.ParentForm.Visible);
            Assert.IsFalse(view2.ParentForm.Visible);
            Assert.IsTrue(view3.ParentForm.Visible);

            controller.RemoveView("View3");
            Assert.IsFalse(view1.ParentForm.Visible);
            Assert.IsTrue(view2.ParentForm.Visible);
        }
        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);
        }