public void RemoveAtTest() { // Arrange int capacity = 3; LimitedList <object> list = new LimitedList <object>(capacity); var obj1 = new object(); var obj2 = new object(); var obj3 = new object(); list.Add(obj1); list.Add(obj2); list.Add(obj3); // Act list.RemoveAt(1); // Assert Assert.AreEqual(2, list.Count); Assert.AreEqual(obj3, list[1]); }