public void WindowManagerEnsureWindowForUserControlTest()
        {
            var windowManager = new MockWindowManager(_viewManager);

            UserControl userControl = new MockUserControlView();
            var         view        = windowManager.EnsureWindow(userControl, false);

            Assert.AreSame(userControl, view.Content);
        }
        public void WindowManagerEnsureWindowForWindowTest()
        {
            var windowManager = new MockWindowManager(_viewManager);

            Window window = new MockWindowView();
            var    view   = windowManager.EnsureWindow(window, false);

            Assert.AreSame(window, view);
        }