public void SetUp()
        {
            factory = MockRepository.GenerateMock<ICommandFactory>();
            command = MockRepository.GenerateMock<IFubuCommand>();
            theInput = new object();
            commandLine = "some stuff here";

            theExecutor = new CommandExecutor(factory);
        }
Пример #2
0
        public void SetUp()
        {
            factory     = MockRepository.GenerateMock <ICommandFactory>();
            command     = MockRepository.GenerateMock <IFubuCommand>();
            theInput    = new object();
            commandLine = "some stuff here";

            theExecutor = new CommandExecutor(factory);
        }
Пример #3
0
 public CommandReport ToReport(IFubuCommand command, string applicationName)
 {
     return(command.Usages.ToReport(applicationName));
 }