public void CanExecuteOverloadExecutesTruePredicate() { var command = new RelayCommand(obj => { }, obj => (int)obj == 1); Assert.IsTrue(command.CanExecute(1)); }
public void CanExecuteIsTrueByDefault() { var command = new RelayCommand(obj => { }); Assert.IsTrue(command.CanExecute(null)); }