public void ReceiveCorrectParameter()
        {
            bool canExecuteGotParam = false;
            bool executeGotParam = false;
            
            string paramValue = "whatever";

            RelayCommand<string> target = new RelayCommand<string>(
                (param) => executeGotParam = (param == paramValue), 
                (param) => canExecuteGotParam = (param == paramValue));

            target.CanExecute(paramValue);
            target.Execute(paramValue);

            Assert.IsTrue(canExecuteGotParam);
            Assert.IsTrue(executeGotParam);
        }
 public void CanExecuteReturnsFalse()
 {
     RelayCommand target = new RelayCommand(() => Console.WriteLine(), () => false);
     bool result = target.CanExecute(null);
     Assert.IsFalse(result);
 }