Exemple #1
0
        public int RunStubCommand()
        {
            CommandOverride = new StubCommand(() => StubWasCalled = true);
            var commonOptions = new CommonOptions("stub");

            return(Run(commonOptions));
        }
 public int RunStubCommand()
 {
     CommandOverride = new StubCommand(() => StubWasCalled = true);
     return(Run(new [] { "stub" }));
 }