public CommandLineArgumentInterpreter(ICommandProvider commandProvider, ICommandNameMatcher commandNameMatcher, ICommandArgumentParser commandArgumentParser, ICommandArgumentNameMatcher commandArgumentNameMatcher)
 {
     this.commandProvider = commandProvider;
     this.commandNameMatcher = commandNameMatcher;
     this.commandArgumentParser = commandArgumentParser;
     this.commandArgumentNameMatcher = commandArgumentNameMatcher;
 }
 public void Setup()
 {
     this.commandNameMatcher = new CommandNameMatcher();
 }
        public void Setup()
        {
            var userInterfaceMock = new Mock<IUserInterface>();
            var solutionPackagingServiceMock = new Mock<ISolutionPackagingService>();
            var buildPropertyParser = new Mock<IBuildPropertyParser>();
            var publishingService = new Mock<IPublishingService>();

            this.packackageSolutionCommand = new PackageSolutionCommand(userInterfaceMock.Object, solutionPackagingServiceMock.Object, buildPropertyParser.Object, publishingService.Object);

            this.commands = new List<ICommand> { this.packackageSolutionCommand };

            this.commandProvider = new ConsoleCommandProvider(this.commands);
            this.commandNameMatcher = new CommandNameMatcher();
            this.commandArgumentParser = new CommandArgumentParser();
            this.commandArgumentNameMatcher = new CommandArgumentNameMatcher();

            this.commandLineArgumentInterpreter = new CommandLineArgumentInterpreter(
                this.commandProvider, this.commandNameMatcher, this.commandArgumentParser, this.commandArgumentNameMatcher);
        }