public void ExecuteCommands_ChangesLocation( string[] commands, int[] obstacleLocation, int[] expectedLocation, CardinalDirection expectedOrientation) { _grid.AddObstacle(obstacleLocation[0], obstacleLocation[1]); _commandRunner.ExecuteCommands(_rover, commands); var endingLocation = _rover.GetLocation(); Assert.That(endingLocation, Is.EqualTo(expectedLocation)); }