public void NotMoveOutsideBoundaries(int offset)
        {
            // Arrange
            var line = new InMemoryLineView();

            // Act, Assert
            Assert.Throws <ArgumentOutOfRangeException>(() => line.Move(offset));
        }
        public void Move(int startPos, int offset)
        {
            // Arrange
            var line = new InMemoryLineView();

            line.Type("test");
            line.MoveTo(startPos);

            // Act
            line.Move(offset);

            // Assert
            Assert.Equal(startPos + offset, line.Position);
        }