public void CanInsertIntoMiddleOfList()
        {
            var wrappedList = new List <Uri>();
            var destList    = new ListAdapter <string, Uri>(
                str => new Uri(str),
                uri => uri.ToString(),
                (str, uri) => string.Equals(str, uri?.ToString()),
                wrappedList)
            {
                "http://maps.google.com",
                "http://www.twitter.com"
            };

            wrappedList.Count.Should().Be(2);

            destList.Insert(1, "https://drive.google.com");

            wrappedList.Count.Should().Be(3);
            destList.Count.Should().Be(3);

            wrappedList[1].Should().BeEquivalentTo(new Uri("https://drive.google.com"));
            wrappedList[2].Should().BeEquivalentTo(new Uri("http://www.twitter.com"));
        }
        public void Insert()
        {
            _adapter.Insert(1, "5");

            Assert.That(_innerList, Is.EqualTo(new[] { 1, 5, 2, 3 }));
        }