public void CommandsInViewModelBaseDescendant()
        {
            var viewModel = POCOViewModel_CommandsInViewModelBaseDescendant.Create();
            var command   = CheckCommand(viewModel, x => x.Save(), x => Assert.Equal(1, x.SaveCallCount));

            Assert.NotNull(viewModel.SaveCommand);
            int canExecuteChangedCount = 0;

            command.CanExecuteChanged += (x, e) => canExecuteChangedCount++;
            viewModel.RaiseCanExecuteChangedPublic(() => viewModel.Save());
            DispatcherHelper.DoEvents();
            Assert.Equal(1, canExecuteChangedCount);

            viewModel.RaiseCanExecuteChanged(x => x.Save());
            DispatcherHelper.DoEvents();
            Assert.Equal(2, canExecuteChangedCount);
        }
 public void SupportServicesInViewModelBaseDescendant()
 {
     CheckServicesImplementation(POCOViewModel_CommandsInViewModelBaseDescendant.Create());
 }