public void Create()
        {
            var view = new FrameworkElement();

            var viewConfiguration = new ViewConfiguration(view);

            Assert.AreSame(view, viewConfiguration.View);
            Assert.IsNull(viewConfiguration.ViewModel);
        }
        public void CreateWithViewModel()
        {
            var view = new FrameworkElement();
            var viewModel = new Object();

            var viewConfiguration = new ViewConfiguration(view, viewModel);

            Assert.AreSame(view, viewConfiguration.View);
            Assert.AreSame(viewModel, viewConfiguration.ViewModel);
        }