CanExecute() public method

public CanExecute ( ) : bool
return bool
        public void RelayCommandOfT_Ctor_EmptyPredicate_CanAlwaysExecute()
        {
            // Setup
            var command = new RelayCommand<object>(x => { });

            // Act + Verify
            Assert.IsTrue(command.CanExecute(null));
        }
        public void RelayCommand_Ctor_EmptyPredicate_CanAlwaysExecute()
        {
            // Setup
            var command = new RelayCommand(() => { });

            // Act + Verify
            Assert.IsTrue(command.CanExecute());
        }