public static void RemoveAt_InvalidIndex_ThrowsArgumentOutOfRangeException()
        {
            var collection = new ModifiableCollection <int>(s_intSequence);

            Assert.Throws <ArgumentOutOfRangeException>("index", () => collection.RemoveAt(-1));
            Assert.Throws <ArgumentOutOfRangeException>("index", () => collection.RemoveAt(s_intArray.Length));
        }
        private static void VerifyRemoveAt(int index, int count, IEnumerable <int> expected)
        {
            var collection = new ModifiableCollection <int>(s_intSequence);

            for (int i = 0; i < count; i++)
            {
                collection.RemoveAt(index);
            }

            Assert.Equal(expected, collection);
        }