public void CanExecuteEmptyCommandWithAtLeastOneMustBeExecutable(bool atLeastOneMustBeExecutable, bool expectedValue) { var compositeCommand = new CompositeCommand(); compositeCommand.AtLeastOneMustBeExecutable = atLeastOneMustBeExecutable; Assert.AreEqual(expectedValue, ((ICatelCommand)compositeCommand).CanExecute(null)); }