public void SetUp() { factory = MockRepository.GenerateMock<ICommandFactory>(); command = MockRepository.GenerateMock<IFubuCommand>(); theInput = new object(); commandLine = "some stuff here"; theExecutor = new CommandExecutor(factory); }
public void SetUp() { factory = MockRepository.GenerateMock <ICommandFactory>(); command = MockRepository.GenerateMock <IFubuCommand>(); theInput = new object(); commandLine = "some stuff here"; theExecutor = new CommandExecutor(factory); }
public CommandReport ToReport(IFubuCommand command, string applicationName) { return(command.Usages.ToReport(applicationName)); }