private CommandMethod CreateCommandMethod() { return((ICli cli, IArgumentsInfo argInfo) => { ++CallCount; return CommandResultMock.Create(); }); }
public static ICommandResult MockCommandMethod(ICli cli, IArgumentsInfo argInfo) { return(CommandResultMock.Create()); }