public void CommandRunWithQuotedInput()
        {
            var command = new AccumulateStringsCommand();

            RunConsoleModeCommand(new string[]
            {
                "accumulate-strings -s \"one two three\" \"four five six\"",
                "x",
            },
                                  inputIsFromUser: true, command: command).Invoke();

            Assert.That(command.Marked, Is.EquivalentTo(new[] { "one two three" }));
            Assert.That(command.Unmarked, Is.EquivalentTo(new[] { "four five six" }));
        }
        public override void Specify()
        {
            when("a command is ran with quoted input", delegate()
            {
                var command = new AccumulateStringsCommand();

                arrange(RunConsoleModeCommand(new string[]
                {
                    "accumulate-strings -s \"one two three\" \"four five six\"",
                    "x",
                },
                                              inputIsFromUser: true, command: command));

                then("the output contains a helpful prompt", delegate
                {
                    Assert.That(command.Marked, Is.EquivalentTo(new[] { "one two three" }));
                    Assert.That(command.Unmarked, Is.EquivalentTo(new[] { "four five six" }));
                });
            });
        }
        public override void Specify()
        {
            when("a command is ran with quoted input", delegate()
                {
                    var command = new AccumulateStringsCommand();

                    arrange(RunConsoleModeCommand(new string[]
                        {
                            "accumulate-strings -s \"one two three\" \"four five six\"",
                            "x",
                        },
                        inputIsFromUser: true, command: command));

                then("the output contains a helpful prompt", delegate
                {
                    Assert.That(command.Marked, Is.EquivalentTo(new[] { "one two three" }));
                    Assert.That(command.Unmarked, Is.EquivalentTo(new[] { "four five six" }));
                });
            });
         
        }