public void InvokeCanExecuteChangedRaisesCanExecuteChangedEvent()
        {
            var changed = false;
            var command = new AsyncCommand(null);

            command.CanExecuteChanged += delegate { changed = true; };
            command.InvokeCanExecuteChanged();

            Assert.IsTrue(changed);
        }