public void Execute_WithCommandString_ShouldExecuteCommand()
        {
            // Arrange
            InteractiveCommand command = new InteractiveCommand();

            testConsole.ReadLineText = new string[] { "command arg1 arg2", "exit" };

            // Act
            command.Execute(testConsole, testArgumentParser, testCommandExecutor.Object);

            // Assert
            testCommandExecutor.Verify(m => m.Execute(new string[] { "command", "arg1", "arg2" }));
        }
        public void Execute_WithExitString_ShouldExit()
        {
            // Arrange
            InteractiveCommand command = new InteractiveCommand();

            testConsole.ReadLineText = new string[] { "exit" };

            // Act
            command.Execute(testConsole, testArgumentParser, testCommandExecutor.Object);

            // Assert
            Assert.Pass();
        }