public void DoesDoShowOnExecute() { var command = new OpenHelpCommand(); var help = MockRepository.GenerateMock <IHelp>(); command.Help = help; command.Execute(); help.AssertWasCalled(x => x.DoShow()); }
public void OpenHelp() { _openHelpCommand.Execute(); }