public void WhenNotMatchedControlsAreGiven_ThenShouldThrowCommandSplit(string command)
        {
            // Arrange
            ICommandSplitter <IEnumerable <IControlCommand> > commandSplitter = new RoverControlCommandSplitter();

            // Act, Assert
            Assert.Throws <CommandFormatException>(() => commandSplitter.Split(command));
        }
        public void WhenControlsAreGiven_ThenShouldCommandSplit(string command)
        {
            // Arrange
            ICommandSplitter <IEnumerable <IControlCommand> > commandSplitter = new RoverControlCommandSplitter();

            // Act
            var commandResult = commandSplitter.Split(command);

            // Assert
            Assert.Equal(command.Length, commandResult.Count());
        }