public void ShouldReturnWidgetAndNextPageAndFormIsEnabledAndRegisterForEvents()
        {
            Given();
            var widget = new UserControl();
            var view = new StubbedLocalServerPickerView(widget);
            var nextPage = new StubbedPage(null, null, null, null);

            When();
            var localServerPickerPage = new LocalServerPickerPage(view, nextPage, null, m_GetLocalInstances);

            Then();
            Assert.That(view.FormEnabled, Is.EqualTo(EnabledState.Integrated));
            Assert.That(view.OnChangeAction, Is.Not.Null);
            Assert.That(localServerPickerPage.GetControl(), Is.EqualTo(widget));
            Assert.That(localServerPickerPage.GetNextPage(), Is.EqualTo(nextPage));
        }
        public void SetUp()
        {
            m_View = new StubbedView(); // m_Mocks.PartialMock<StubbedView>();

            m_LastPageControl = m_Mocks.Stub<UserControl>();
            m_LastPage = new StubbedPage(m_LastPageControl, null, "Finish", "Last Page"); // m_Mocks.PartialMock<StubbedPage>(m_LastPageControl, null, "Finish");

            m_FirstPageControl = m_Mocks.Stub<UserControl>();
            m_FirstPage = new StubbedPage(m_FirstPageControl, m_LastPage, "Next", "First Page"); // m_Mocks.PartialMock<StubbedPage>(m_FirstPageControl, m_LastPage, "Next");
        }